OSDN Git Service

android-x86/frameworks-base.git
8 years agoTelecom shell command accepts userhandle as argument of phone account
Tony Mak [Mon, 11 Jan 2016 14:38:11 +0000 (14:38 +0000)]
Telecom shell command accepts userhandle as argument of phone account

We need a sort of way to enable phone account in managed profile for
writing cts running in managed profile.

Change-Id: I2e869e792c6e145c93a314f64a5de98e2f6e315f

8 years agoMerge "Fix for possible NPE in JobScheduler"
Shreyas Basarge [Tue, 19 Jan 2016 11:46:37 +0000 (11:46 +0000)]
Merge "Fix for possible NPE in JobScheduler"

8 years agoNew path interpolation to paint vector drawables am: b9c48d8f49
Diego Perez [Tue, 19 Jan 2016 10:39:46 +0000 (10:39 +0000)]
New path interpolation to paint vector drawables am: b9c48d8f49
am: 6952063e71

* commit '6952063e7166599f5300427019ca845bbaafa660':
  New path interpolation to paint vector drawables

8 years agoNew path interpolation to paint vector drawables
Diego Perez [Tue, 19 Jan 2016 10:35:49 +0000 (10:35 +0000)]
New path interpolation to paint vector drawables
am: b9c48d8f49

* commit 'b9c48d8f49d35e2682c7205a9d8d5fcc25d7c736':
  New path interpolation to paint vector drawables

8 years agoNew path interpolation to paint vector drawables
Diego Perez [Fri, 18 Dec 2015 16:01:24 +0000 (16:01 +0000)]
New path interpolation to paint vector drawables

Before this CL, PathMeasure_Delegate would use Path_Delegate.approximate
to get a path segment to draw. Path_Delegate.approximate uses a
flattening iterator to do the path approximation.
Unfortunately, because we do not control the stroke mode while painting,
in some cases the approximation would draw unwanted artifacts caused by
the rough approximation and the use of wrong miter values.
This CL does a much better calculation of the path and interpolates the
segments of the curves instead of replacing them with line segments.

This also fixes an issue with the calculation of empty paths.

Bug: http://b.android.com/187256

Change-Id: I450f7aa4c3d9efcbf902a40c3b4d6d388546893f

8 years agoMerge "Fix several small logging issues."
Filip Gruszczynski [Tue, 19 Jan 2016 04:18:59 +0000 (04:18 +0000)]
Merge "Fix several small logging issues."

8 years agoMerge "Start to use app fuse in MtpDocumentsProvider."
Daichi Hirono [Tue, 19 Jan 2016 03:24:00 +0000 (03:24 +0000)]
Merge "Start to use app fuse in MtpDocumentsProvider."

8 years agoMerge "Temporary logging to debug ActivityStarter crash."
Filip Gruszczynski [Tue, 19 Jan 2016 02:31:18 +0000 (02:31 +0000)]
Merge "Temporary logging to debug ActivityStarter crash."

8 years agoMerge "Fix NPE when checking if recents should be launched in docked mode."
Filip Gruszczynski [Tue, 19 Jan 2016 02:29:17 +0000 (02:29 +0000)]
Merge "Fix NPE when checking if recents should be launched in docked mode."

8 years agoStart to use app fuse in MtpDocumentsProvider.
Daichi Hirono [Mon, 11 Jan 2016 09:07:01 +0000 (18:07 +0900)]
Start to use app fuse in MtpDocumentsProvider.

BUG=25756419

Change-Id: I050e7cf7523926710291875737602e95c47be088

8 years agoMerge "Extend MediaScanner and MtpDatabase to support RAW image files"
Jaesung Chung [Tue, 19 Jan 2016 01:17:18 +0000 (01:17 +0000)]
Merge "Extend MediaScanner and MtpDatabase to support RAW image files"

8 years agoMerge "Clean MtpManagerTest code."
Daichi Hirono [Tue, 19 Jan 2016 00:48:28 +0000 (00:48 +0000)]
Merge "Clean MtpManagerTest code."

8 years agoExtend MediaScanner and MtpDatabase to support RAW image files
Jaesung Chung [Fri, 18 Dec 2015 04:50:21 +0000 (05:50 +0100)]
Extend MediaScanner and MtpDatabase to support RAW image files

Bug: 25871812
Change-Id: Iee92632585dc9020238a9b562defd06d6d2a91dc

8 years agoMerge "ExifInterface: add support for reading metadata from RAW images"
Jaesung Chung [Tue, 19 Jan 2016 00:37:13 +0000 (00:37 +0000)]
Merge "ExifInterface: add support for reading metadata from RAW images"

8 years agoMerge "Fix for Settings timezone names when boot time is wrong"
Neil Fuller [Mon, 18 Jan 2016 19:01:41 +0000 (19:01 +0000)]
Merge "Fix for Settings timezone names when boot time is wrong"

8 years agoMerge "Add an util method and update setMenuItemAsDisabledByAdmin."
Sudheer Shanka [Mon, 18 Jan 2016 18:28:55 +0000 (18:28 +0000)]
Merge "Add an util method and update setMenuItemAsDisabledByAdmin."

8 years agoFix several small logging issues.
Filip Gruszczynski [Mon, 18 Jan 2016 18:02:00 +0000 (10:02 -0800)]
Fix several small logging issues.

This includes:
1) invert HIDE_STACK_CRAWLS to SHOW_STACK_CRAWLS so it's immediately
clear from the config file that something is enabled (if anything is
true).
2) Merge stack collection code into a method, so we can remove the
repeated code.
3) Remove copying of some constants in AppTransition and just import
them directly.

Change-Id: I3190ee0a5963720ac6285b4f48b2705e84f04ab5

8 years agoMerge "Add extra utility method to RestrictedLockUtils."
Sudheer Shanka [Mon, 18 Jan 2016 18:00:44 +0000 (18:00 +0000)]
Merge "Add extra utility method to RestrictedLockUtils."

8 years agoMerge "Import translations. DO NOT MERGE"
Geoff Mendal [Mon, 18 Jan 2016 17:48:13 +0000 (17:48 +0000)]
Merge "Import translations. DO NOT MERGE"

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 18 Jan 2016 17:43:11 +0000 (18:43 +0100)]
Import translations. DO NOT MERGE

Change-Id: Ie34a0366716390f8027fafe3818510be86f8f2fe
Auto-generated-cl: translation import

8 years agoMerge "Remove spacing when removing padlock and add more util methods."
Sudheer Shanka [Mon, 18 Jan 2016 17:24:19 +0000 (17:24 +0000)]
Merge "Remove spacing when removing padlock and add more util methods."

8 years agoRemove spacing when removing padlock and add more util methods.
Sudheer Shanka [Mon, 18 Jan 2016 11:22:45 +0000 (11:22 +0000)]
Remove spacing when removing padlock and add more util methods.

When adding the padlock, a space is appended to the string which needs
to removed along with the padlock. And added more utility methods in
RestrictedLockUtils.

Change-Id: I33f976db23bfdd39d76c4201be0727bfafb00fd4

8 years agoMerge "Fix documentation for hidden intent."
Alan Treadway [Mon, 18 Jan 2016 16:51:12 +0000 (16:51 +0000)]
Merge "Fix documentation for hidden intent."

8 years agoFix documentation for hidden intent.
Alan Treadway [Mon, 18 Jan 2016 16:42:30 +0000 (16:42 +0000)]
Fix documentation for hidden intent.

Change-Id: If3325f75cff759260e42e5b3782c267cb7c1f001

8 years agoMerge "Check for null values when copying enforcedAdmin in QSTile.State."
Sudheer Shanka [Mon, 18 Jan 2016 16:11:42 +0000 (16:11 +0000)]
Merge "Check for null values when copying enforcedAdmin in QSTile.State."

8 years agoCheck for null values when copying enforcedAdmin in QSTile.State.
Sudheer Shanka [Mon, 18 Jan 2016 11:18:35 +0000 (11:18 +0000)]
Check for null values when copying enforcedAdmin in QSTile.State.

Bug: 26612685
Change-Id: I8228d1dffc3623d3589b51c6c33f07cc53605ef2

8 years agoMerge "Import translations. DO NOT MERGE" into mnc-dr2-dev am: 7819c3b859 -s ours
Geoff Mendal [Mon, 18 Jan 2016 15:31:19 +0000 (15:31 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dr2-dev am: 7819c3b859  -s ours
am: 26ada7e789  -s ours

* commit '26ada7e78993241d702a908eae93d174cbb3c8b3':
  Import translations. DO NOT MERGE

8 years agoMerge "Import translations. DO NOT MERGE" into mnc-dr2-dev
Geoff Mendal [Mon, 18 Jan 2016 15:26:34 +0000 (15:26 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dr2-dev
am: 7819c3b859  -s ours

* commit '7819c3b8591035426eb9b5706f816a95644422ea':
  Import translations. DO NOT MERGE

8 years agoMerge "Import translations. DO NOT MERGE" into mnc-dr2-dev
Geoff Mendal [Mon, 18 Jan 2016 15:23:52 +0000 (15:23 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dr2-dev

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 18 Jan 2016 15:19:19 +0000 (10:19 -0500)]
Import translations. DO NOT MERGE

Change-Id: I581155468832227ff209fc60743a2735b34f91a2
Auto-generated-cl: translation import

8 years agoImport translations. DO NOT MERGE am: 6168c078ae -s ours am: 0745fe8db2 -s ours
Geoff Mendal [Mon, 18 Jan 2016 14:54:36 +0000 (14:54 +0000)]
Import translations. DO NOT MERGE am: 6168c078ae  -s ours am: 0745fe8db2  -s ours
am: 1f51e04c1a  -s ours

* commit '1f51e04c1a7fce22da1af86e059d9a65b16814ac':
  Import translations. DO NOT MERGE

8 years agoImport translations. DO NOT MERGE am: 6168c078ae -s ours
Geoff Mendal [Mon, 18 Jan 2016 14:51:47 +0000 (14:51 +0000)]
Import translations. DO NOT MERGE am: 6168c078ae  -s ours
am: 0745fe8db2  -s ours

* commit '0745fe8db2fc6d8fd2b4d3f57b769ae5bf0f3a0a':
  Import translations. DO NOT MERGE

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 18 Jan 2016 14:47:10 +0000 (14:47 +0000)]
Import translations. DO NOT MERGE
am: 6168c078ae  -s ours

* commit '6168c078aebc9cc3a371fb1165681c3b40e1b2f0':
  Import translations. DO NOT MERGE

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 18 Jan 2016 14:41:08 +0000 (09:41 -0500)]
Import translations. DO NOT MERGE

Change-Id: I0ff7336ca90107f45266090de0ffc634daa54722
Auto-generated-cl: translation import

8 years agoMerge "Import translations. DO NOT MERGE"
Geoff Mendal [Mon, 18 Jan 2016 14:15:06 +0000 (14:15 +0000)]
Merge "Import translations. DO NOT MERGE"

8 years agoMerge "Import translations. DO NOT MERGE"
Geoff Mendal [Mon, 18 Jan 2016 14:14:49 +0000 (14:14 +0000)]
Merge "Import translations. DO NOT MERGE"

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 18 Jan 2016 14:12:47 +0000 (06:12 -0800)]
Import translations. DO NOT MERGE

Change-Id: I070e73e494d9400f608efaa20a2409e42830001d
Auto-generated-cl: translation import

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 18 Jan 2016 14:12:17 +0000 (06:12 -0800)]
Import translations. DO NOT MERGE

Change-Id: Id4838bd0f2d05518f51db27a1a523501b579c1c5
Auto-generated-cl: translation import

8 years agoMerge "Import translations. DO NOT MERGE"
Geoff Mendal [Mon, 18 Jan 2016 14:09:46 +0000 (14:09 +0000)]
Merge "Import translations. DO NOT MERGE"

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 18 Jan 2016 14:08:46 +0000 (06:08 -0800)]
Import translations. DO NOT MERGE

Change-Id: I48b3ccb767e10aa277cf91c311998edf90f91b18
Auto-generated-cl: translation import

8 years agoMerge "Import translations. DO NOT MERGE"
Geoff Mendal [Mon, 18 Jan 2016 13:55:14 +0000 (13:55 +0000)]
Merge "Import translations. DO NOT MERGE"

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 18 Jan 2016 13:53:16 +0000 (05:53 -0800)]
Import translations. DO NOT MERGE

Change-Id: I577ab7113b9ad02f7556375115e7788a808efe24
Auto-generated-cl: translation import

8 years agoMerge "Import translations. DO NOT MERGE"
Geoff Mendal [Mon, 18 Jan 2016 13:52:19 +0000 (13:52 +0000)]
Merge "Import translations. DO NOT MERGE"

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 18 Jan 2016 13:50:11 +0000 (05:50 -0800)]
Import translations. DO NOT MERGE

Change-Id: I22202310da38844825b48d612c8097ea559b71d7
Auto-generated-cl: translation import

8 years agoMerge "Import translations. DO NOT MERGE"
Geoff Mendal [Mon, 18 Jan 2016 13:49:33 +0000 (13:49 +0000)]
Merge "Import translations. DO NOT MERGE"

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 18 Jan 2016 13:46:44 +0000 (05:46 -0800)]
Import translations. DO NOT MERGE

Change-Id: I37ead402c3e0ed5f172302abb7184fe232e4fbb6
Auto-generated-cl: translation import

8 years agoMerge "Import translations. DO NOT MERGE"
Geoff Mendal [Mon, 18 Jan 2016 13:30:59 +0000 (13:30 +0000)]
Merge "Import translations. DO NOT MERGE"

8 years agoMerge "Import translations. DO NOT MERGE"
Geoff Mendal [Mon, 18 Jan 2016 13:29:10 +0000 (13:29 +0000)]
Merge "Import translations. DO NOT MERGE"

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 18 Jan 2016 13:20:59 +0000 (05:20 -0800)]
Import translations. DO NOT MERGE

Change-Id: I095c87b18d5d8815f5958d6beb81e8ccc5ece6a5
Auto-generated-cl: translation import

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 18 Jan 2016 13:17:51 +0000 (05:17 -0800)]
Import translations. DO NOT MERGE

Change-Id: Ie1cf575a1d561f40d438ddfd14f089e69dc835b5
Auto-generated-cl: translation import

8 years agoExifInterface: add support for reading metadata from RAW images
Jaesung Chung [Fri, 15 Jan 2016 05:21:11 +0000 (14:21 +0900)]
ExifInterface: add support for reading metadata from RAW images

This CL depends on piex (github.com/google/piex),
which is owned by Google Photos's RAW team.

piex is capable of reading EXIF data that contains
metadata, and finding the positions in an image of
thumbnail and preview images from RAW images.

piex supports DNG, CR2, NEF, NRW, ARW, RW2, ORF
and RAF image file formats.

ExifInterface gets thumbnail and metadata information
from the above RAW image formats via piex.

Bug: 26177215
Change-Id: I529f8032bcb2a9d3d9e857ff1365a26a4f040066

8 years agoMerge "Change permissions of apps' home dir to 0700 for SDK > 23"
Janis Danisevskis [Mon, 18 Jan 2016 13:13:24 +0000 (13:13 +0000)]
Merge "Change permissions of apps' home dir to 0700 for SDK > 23"

8 years agoApplying finalized strings for remote bugreports
Michal Karpinski [Tue, 15 Dec 2015 10:09:00 +0000 (10:09 +0000)]
Applying finalized strings for remote bugreports

Bug: 26226230
Change-Id: I0764a2d8c67a5d14d91c3e3162f407c74adb7bf8

8 years agoMerge "DPM changes to support remote bugreports"
Michal Karpinski [Mon, 18 Jan 2016 10:00:55 +0000 (10:00 +0000)]
Merge "DPM changes to support remote bugreports"

8 years agoMerge "Introdude IC#deleteSurroundingTextInCodePoints()."
Yohei Yukawa [Mon, 18 Jan 2016 05:34:26 +0000 (05:34 +0000)]
Merge "Introdude IC#deleteSurroundingTextInCodePoints()."

8 years agoMerge "Revert "Revert "AudioTrack: Add getUnderrunCount()"""
Phil Burk [Mon, 18 Jan 2016 03:47:39 +0000 (03:47 +0000)]
Merge "Revert "Revert "AudioTrack: Add getUnderrunCount()"""

8 years agoClean MtpManagerTest code.
Daichi Hirono [Mon, 18 Jan 2016 01:31:25 +0000 (10:31 +0900)]
Clean MtpManagerTest code.

 * Use try-with-resource block to ensure close auto-closeable stream.
 * Define local variables just above the place where they are used.

BUG=None

Change-Id: I9d6c952ebac096c51567a4a787b2bc9fff6502de

8 years agoMerge "AudioTrack: add setBufferSizeInFrames()"
Phil Burk [Mon, 18 Jan 2016 00:36:15 +0000 (00:36 +0000)]
Merge "AudioTrack: add setBufferSizeInFrames()"

8 years agoAudioTrack: add setBufferSizeInFrames()
Phil Burk [Fri, 8 Jan 2016 20:40:41 +0000 (12:40 -0800)]
AudioTrack: add setBufferSizeInFrames()

Also add getBufferCapacityInFrames().
These can be used to dynamically raise or lower latency.
Fix JavaDocs.

Bug: 21019153
Change-Id: I5c795c23826f7f29038d0de7004f4b7f365cd67e
Signed-off-by: Phil Burk <philburk@google.com>
8 years agoRevert "Revert "AudioTrack: Add getUnderrunCount()""
Phil Burk [Sun, 17 Jan 2016 21:49:58 +0000 (21:49 +0000)]
Revert "Revert "AudioTrack: Add getUnderrunCount()""

This reverts commit 0ac70888d3f08b694e3e31939f2cfb90ce5e0f58.

The first revert was not needed. It was made to fix a broken build. But the break was from a different CL. SO I am reverting the revert.

Change-Id: Iad30209a38f9a0af18d684e44f033a49f32af778

8 years agoMerge "Adding UNPROCESSED to the available audio_sources and SUPPORT_AUDIO_SOURCE_UNP...
Ricardo Garcia [Sun, 17 Jan 2016 20:07:15 +0000 (20:07 +0000)]
Merge "Adding UNPROCESSED to the available audio_sources and SUPPORT_AUDIO_SOURCE_UNPROCESSED property"

8 years agoTemporary logging to debug ActivityStarter crash.
Filip Gruszczynski [Sun, 17 Jan 2016 19:02:36 +0000 (11:02 -0800)]
Temporary logging to debug ActivityStarter crash.

Bug: 26541093
Change-Id: Ia2887c1735ea6a5a964c01b63019288b96ef6172

8 years agoFix NPE when checking if recents should be launched in docked mode.
Filip Gruszczynski [Sun, 17 Jan 2016 17:12:31 +0000 (09:12 -0800)]
Fix NPE when checking if recents should be launched in docked mode.

In some cases the activity starting method might return early with
positive return code, even though it skipped doing most of the work
and the target stack is not set. We need to protect ourselves from
an NPE in that case.

Bug: 26541093

Change-Id: I7227ad8efa30c52dd8178ad3c9d8b2263c89a74f

8 years agoMerge "Doc fix."
Steve McKay [Sun, 17 Jan 2016 16:33:57 +0000 (16:33 +0000)]
Merge "Doc fix."

8 years agoDoc fix.
Steve McKay [Sun, 17 Jan 2016 16:32:20 +0000 (08:32 -0800)]
Doc fix.

Bug: 22060119
Change-Id: I1e58cd22a5bddd67e6dce840629e5a05210e61bd

8 years agoMerge "Revert "AudioTrack: add setBufferSizeInFrames()""
Phil Burk [Sun, 17 Jan 2016 08:13:01 +0000 (08:13 +0000)]
Merge "Revert "AudioTrack: add setBufferSizeInFrames()""

8 years agoMerge "Revert "AudioTrack: Add getUnderrunCount()""
Phil Burk [Sun, 17 Jan 2016 08:12:42 +0000 (08:12 +0000)]
Merge "Revert "AudioTrack: Add getUnderrunCount()""

8 years agoRevert "AudioTrack: Add getUnderrunCount()"
Phil Burk [Sun, 17 Jan 2016 08:04:23 +0000 (08:04 +0000)]
Revert "AudioTrack: Add getUnderrunCount()"

This reverts commit e08c454a8929c13206833cb3422f136f4847a6ff.

JavaDoc error

Change-Id: Ic389be67c8fc8a365948984e9cc7648ee8058371

8 years agoRevert "AudioTrack: add setBufferSizeInFrames()"
Phil Burk [Sun, 17 Jan 2016 08:01:40 +0000 (08:01 +0000)]
Revert "AudioTrack: add setBufferSizeInFrames()"

This reverts commit adfb7f62dda47100e1023503d3492e4894f832fa.

Due to JavaDoc error

Change-Id: I41acaa83b7800f88f000291c8deba18d7394be94

8 years agoMerge "AudioTrack: Add getUnderrunCount()"
Phil Burk [Sun, 17 Jan 2016 06:30:28 +0000 (06:30 +0000)]
Merge "AudioTrack: Add getUnderrunCount()"

8 years agoMerge "AudioTrack: add setBufferSizeInFrames()"
Phil Burk [Sun, 17 Jan 2016 06:26:39 +0000 (06:26 +0000)]
Merge "AudioTrack: add setBufferSizeInFrames()"

8 years agoAudioTrack: Add getUnderrunCount()
Phil Burk [Thu, 14 Jan 2016 05:35:17 +0000 (21:35 -0800)]
AudioTrack: Add getUnderrunCount()

This allows an app to detect application-level output glitches.

Change-Id: I4fb1eafff19a3dd776efae04ddd2e3514184d17f
Bug: 25641253
Signed-off-by: Phil Burk <philburk@google.com>
8 years agoAudioTrack: Add FLAG_LOW_LATENCY
Phil Burk [Mon, 28 Dec 2015 18:34:33 +0000 (10:34 -0800)]
AudioTrack: Add FLAG_LOW_LATENCY

Allow Java to write directly to the FastMixer to
reduce latency.

Change-Id: I957c82ba430e7ee2780ea00ea96c1f5b23dc47f5
Bug: 21019153
Signed-off-by: Phil Burk <philburk@google.com>
8 years agoChange permissions of apps' home dir to 0700 for SDK > 23
Janis Danisevskis [Tue, 12 Jan 2016 14:46:33 +0000 (14:46 +0000)]
Change permissions of apps' home dir to 0700 for SDK > 23

This patchset changes the installd such that apps' home
directory has permissions set to 0700 if build for a
target SDK version. In consequence the commands

create_app_data and move_complete_app

get one more parameter, the target SDK version.
Apps built for a lower SDK version will still have
home directories with permissions set to 0751.

Bug: 7208882
Change-Id: I651da956dd57d882772b23a433421e9130ea4c0b

8 years agoAudioTrack: add setBufferSizeInFrames()
Phil Burk [Fri, 8 Jan 2016 20:40:41 +0000 (12:40 -0800)]
AudioTrack: add setBufferSizeInFrames()

Also add getBufferCapacityInFrames().
These can be used to dynamically raise or lower latency.

Bug: 21019153
Change-Id: I3403982894c5fe101f45d0466b00ff3036b28417
Signed-off-by: Phil Burk <philburk@google.com>
8 years agoAdding UNPROCESSED to the available audio_sources and
rago [Wed, 2 Dec 2015 19:31:15 +0000 (11:31 -0800)]
Adding UNPROCESSED to the available audio_sources and
SUPPORT_AUDIO_SOURCE_UNPROCESSED property

bug: 25564291
Change-Id: I05d48fcc1859501902aa38604a5b86fa5d468468

8 years agoMerge "Supply content description for QS disconnect buttons" into mnc-dr1.5-dev am...
Thierry Strudel [Sat, 16 Jan 2016 02:28:30 +0000 (02:28 +0000)]
Merge "Supply content description for QS disconnect buttons" into mnc-dr1.5-dev am: fc7e682f44 am: f4dd31755a
am: 3b6c965570

* commit '3b6c965570e5f4f54a78a6478bac40a355c6b372':
  Supply content description for QS disconnect buttons

8 years agoMerge "Stop leaking Notifications when they change groupKeys." into mnc-dr1.5-dev...
Daniel Sandler [Sat, 16 Jan 2016 02:26:53 +0000 (02:26 +0000)]
Merge "Stop leaking Notifications when they change groupKeys." into mnc-dr1.5-dev am: 76f28bbd64 am: 3be84505f4
am: 8afab95aa9

* commit '8afab95aa976cc1d07ee307df9fa85f505ba800c':
  Stop leaking Notifications when they change groupKeys.

8 years agoMerge "Make the appropriate cast to protect from mingw." am: dbf8c17bd2
Dan Albert [Sat, 16 Jan 2016 02:25:22 +0000 (02:25 +0000)]
Merge "Make the appropriate cast to protect from mingw." am: dbf8c17bd2
am: 2edfa8c9b0

* commit '2edfa8c9b00cd0c0bd18738f75e0928394b99c76':
  Make the appropriate cast to protect from mingw.

8 years agoMerge "Keeping only running users recents in memory"
Suprabh Shukla [Sat, 16 Jan 2016 02:00:00 +0000 (02:00 +0000)]
Merge "Keeping only running users recents in memory"

8 years agoKeeping only running users recents in memory
Suprabh Shukla [Wed, 2 Dec 2015 22:36:31 +0000 (14:36 -0800)]
Keeping only running users recents in memory

Currently, all the users' recent tasks are loaded into memory and kept
in sync with the persistent storage. This changes the system so
that it loads a users recents into memory lazily (i.e. when
getRecentTasks is called for that user) and unloads them from the
memory as soon as the user is stopped. This also required bucketizing
the taskIds per user, so that the next available taskId can be assigned
without having knowledge of all the tasks that are stored away in
persistent storage but are not available in memory.
Bug-Id: b/24569398

Change-Id: Ia5cb64d9f4ee727225dce34e45ca63e946ac27a8

8 years agoUser creation with an intent
Amith Yamasani [Mon, 7 Dec 2015 22:19:49 +0000 (14:19 -0800)]
User creation with an intent

New API for an app to request creating a new user with
a given user name and seed account information for the
SetupWizard to use when that user is switched into.

Also adds system APIs to read the seed account data from
UserManager.

Bug: 22776757
Change-Id: I0bc3f11ee19c15e0ee2a908c88d98b13296cc30d

8 years agoMerge "Prepare app data only when storage is available."
Jeff Sharkey [Sat, 16 Jan 2016 00:41:08 +0000 (00:41 +0000)]
Merge "Prepare app data only when storage is available."

8 years agoMerge "Refactoring and cleanup"
Brad Ebinger [Sat, 16 Jan 2016 00:24:43 +0000 (00:24 +0000)]
Merge "Refactoring and cleanup"

8 years agoMerge "Separate notification area into own controller."
Anthony Chen [Sat, 16 Jan 2016 00:23:57 +0000 (00:23 +0000)]
Merge "Separate notification area into own controller."

8 years agoMerge "Fix build"
Jorim Jaggi [Sat, 16 Jan 2016 00:21:18 +0000 (00:21 +0000)]
Merge "Fix build"

8 years agoFix build
Jorim Jaggi [Sat, 16 Jan 2016 00:18:30 +0000 (16:18 -0800)]
Fix build

Change-Id: I6d4bebf90c11a4a00d259aac34bb9459d973da9b

8 years agoMerge "Don't mark wallpaper windows as visible when it's surface is hidden."
Wale Ogunwale [Fri, 15 Jan 2016 23:55:10 +0000 (23:55 +0000)]
Merge "Don't mark wallpaper windows as visible when it's surface is hidden."

8 years agoMerge "Fix split-screen visible apps issue when screen is rotated on lockscreen"
Wale Ogunwale [Fri, 15 Jan 2016 23:55:04 +0000 (23:55 +0000)]
Merge "Fix split-screen visible apps issue when screen is rotated on lockscreen"

8 years agoMerge "Supply content description for QS disconnect buttons" into mnc-dr1.5-dev am...
Thierry Strudel [Fri, 15 Jan 2016 23:51:19 +0000 (23:51 +0000)]
Merge "Supply content description for QS disconnect buttons" into mnc-dr1.5-dev am: fc7e682f44
am: f4dd31755a

* commit 'f4dd31755a31a2eea6e363a1ab45a4a8634e27ed':
  Supply content description for QS disconnect buttons

8 years agoSeparate notification area into own controller.
Anthony Chen [Tue, 12 Jan 2016 01:00:36 +0000 (17:00 -0800)]
Separate notification area into own controller.

Extracts the notification area of the status bar into a layout file and
create a NotificationAreaController that controls what happens in this
area.

This is to allow this area to be configurable in Android Auto Embedded
cases where OEMs may want their own custom implementations here.

Change-Id: I8a52af676d16fd6f7d3878805970a5897d2db945

8 years agoMerge "Supply content description for QS disconnect buttons" into mnc-dr1.5-dev
Thierry Strudel [Fri, 15 Jan 2016 23:47:53 +0000 (23:47 +0000)]
Merge "Supply content description for QS disconnect buttons" into mnc-dr1.5-dev
am: fc7e682f44

* commit 'fc7e682f445fbf358e59205912229b63c5fadda4':
  Supply content description for QS disconnect buttons

8 years agoMerge "Supply content description for QS disconnect buttons" into mnc-dr1.5-dev
Thierry Strudel [Fri, 15 Jan 2016 23:44:45 +0000 (23:44 +0000)]
Merge "Supply content description for QS disconnect buttons" into mnc-dr1.5-dev

8 years agoMerge "Mark Context.BIND_EXTERNAL_SERVICE as SystemApi"
Mikhail Naganov [Fri, 15 Jan 2016 23:44:23 +0000 (23:44 +0000)]
Merge "Mark Context.BIND_EXTERNAL_SERVICE as SystemApi"

8 years agoMerge "Initial check-in of picture-in-picture system-ui"
Youngsang Cho [Fri, 15 Jan 2016 23:39:14 +0000 (23:39 +0000)]
Merge "Initial check-in of picture-in-picture system-ui"

8 years agoDon't mark wallpaper windows as visible when it's surface is hidden.
Wale Ogunwale [Fri, 15 Jan 2016 23:00:57 +0000 (15:00 -0800)]
Don't mark wallpaper windows as visible when it's surface is hidden.

Also, cleaned up the visibility methods a little.

Bug: 26440195
Change-Id: I27451e980b437f6c4e1e5488d8ada42312a113bb

8 years agoInitial check-in of picture-in-picture system-ui
Youngsang Cho [Thu, 17 Dec 2015 21:39:39 +0000 (13:39 -0800)]
Initial check-in of picture-in-picture system-ui

Bug: 26549507
Change-Id: I6c69b5e2b5492858fc997657b5a06d3e50ca16e3

8 years agoMerge "Adds sourcePackageName field to JobStatus"
Shreyas Basarge [Fri, 15 Jan 2016 23:12:15 +0000 (23:12 +0000)]
Merge "Adds sourcePackageName field to JobStatus"

8 years agoMerge "Native Audio Routing and (Java) AudioRouting (interface)."
Paul Mclean [Fri, 15 Jan 2016 23:07:39 +0000 (23:07 +0000)]
Merge "Native Audio Routing and (Java) AudioRouting (interface)."

8 years agoPrepare app data only when storage is available.
Jeff Sharkey [Thu, 14 Jan 2016 01:52:55 +0000 (18:52 -0700)]
Prepare app data only when storage is available.

Before this change, scanning a package aggressively tried checking
to ensure that private app data was prepared.  However, in an FBE
world we may not have access to that data at scan time.  So this
change shifts the preparing of private app data until later: it
prepares DE storage when a user is started, and CE storage when a
user is unlocked.  Wire ourselves into the user lifecycle so we can
prepare storage at both user start and unlock.

When DE/CE storage becomes available, this change reconciles any
found packages against known installed apps, and deletes any orphaned
data directories.

We now need to store the last-restorecon hash in an xattr on a
per-user directory basis, since we can't restorecon CE storage until
it's unlocked, or adopted storage until it's mounted.  Remove a
bunch of used logic for loading dynamic SELinux policy at runtime;
our policy always comes from the system image.

Bug: 2646682726544104
Change-Id: I8d0a4ef862c35f4e4ef5c7f20d3bb8f12ba3fd4b