OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "wifi: WifiConfiguration: update documentation for isHomeProviderNetwork" am...
Peter Qiu [Fri, 3 Mar 2017 19:22:10 +0000 (19:22 +0000)]
Merge "wifi: WifiConfiguration: update documentation for isHomeProviderNetwork" am: 6ac19c0d23 am: be39334afb
am: 8cf05dfe92

Change-Id: Iecbe5a8d084302a2fa8ca49495ef93df78607428

7 years agoMerge "wifi: WifiConfiguration: update documentation for isHomeProviderNetwork" am...
Peter Qiu [Fri, 3 Mar 2017 19:16:14 +0000 (19:16 +0000)]
Merge "wifi: WifiConfiguration: update documentation for isHomeProviderNetwork" am: 6ac19c0d23
am: be39334afb

Change-Id: I922cadda8d9becd391dbaffc0da7e098bdda89f6

7 years agoMerge "wifi: WifiConfiguration: update documentation for isHomeProviderNetwork"
Peter Qiu [Fri, 3 Mar 2017 19:10:46 +0000 (19:10 +0000)]
Merge "wifi: WifiConfiguration: update documentation for isHomeProviderNetwork"
am: 6ac19c0d23

Change-Id: Ia4966b2d8109a85a94f59d7ec57b387a8f6f612e

7 years agoMerge "wifi: WifiConfiguration: update documentation for isHomeProviderNetwork"
Treehugger Robot [Fri, 3 Mar 2017 19:02:27 +0000 (19:02 +0000)]
Merge "wifi: WifiConfiguration: update documentation for isHomeProviderNetwork"

7 years agoMerge "handle case where user == USER_ALL"
TreeHugger Robot [Fri, 3 Mar 2017 19:00:48 +0000 (19:00 +0000)]
Merge "handle case where user == USER_ALL"

7 years agoMerge "Revert "Remove AHardwareBuffer_ API from libandroid""
Mathias Agopian [Fri, 3 Mar 2017 18:47:49 +0000 (18:47 +0000)]
Merge "Revert "Remove AHardwareBuffer_ API from libandroid""

7 years agoMerge "AAPT2: Fix escaping sequence processing in XML parsing"
TreeHugger Robot [Fri, 3 Mar 2017 18:36:25 +0000 (18:36 +0000)]
Merge "AAPT2: Fix escaping sequence processing in XML parsing"

7 years agoMerge changes Ie009b2c3,I313b5334,Iae36fc6b
Selim Cinek [Fri, 3 Mar 2017 18:30:56 +0000 (18:30 +0000)]
Merge changes Ie009b2c3,I313b5334,Iae36fc6b

* changes:
  Animating the statusbar icons now when closing
  Fixed a few issues around notifications and density changes
  All touches to low priority headers should be accepted

7 years agoAnimating the statusbar icons now when closing
Selim Cinek [Thu, 2 Mar 2017 00:50:30 +0000 (16:50 -0800)]
Animating the statusbar icons now when closing

On the keyguard the statusbaricons would not animate
in if there were no notifications. We can't just magically
appear them in that case but need to animate them.

Change-Id: Ie009b2c351b7a45f9219ddc1114be79477ea692b
Fixes: 33652041

7 years agoFixed a few issues around notifications and density changes
Selim Cinek [Wed, 1 Mar 2017 23:13:36 +0000 (15:13 -0800)]
Fixed a few issues around notifications and density changes

Because density and font size changes would actually be
delivered by Dependency, the SystemUI could actually get
the onDensityChanged after the onDensityOrFontScaleChanged.
Let's make sure all configuration changes now go through the
same listener.
This also ensures that the caching of the icon offsets is done
correctly, since the statusbar layout may actually be laid out
later then the shelf.

Test: change density from small to large, observe normal layout
Change-Id: I313b5334ccbb57f7929fe03dbd5119396123b137
Fixes: 35678628

7 years agoAll touches to low priority headers should be accepted
Selim Cinek [Wed, 1 Mar 2017 01:22:49 +0000 (17:22 -0800)]
All touches to low priority headers should be accepted

Since there is no conflicting touch target, we now accept
all touches there.

Test: add low-pririty notification, click below text
Fixes: 35851799
Change-Id: Iae36fc6b950a0dbb569bfae43a5505588d9e0ace

7 years agoMerge "Add tracking of bg check violations in broadcast stats."
Dianne Hackborn [Fri, 3 Mar 2017 18:07:53 +0000 (18:07 +0000)]
Merge "Add tracking of bg check violations in broadcast stats."

7 years agoMerge "Address feedback from API council for INITIAL_URI."
Garfield Tan [Fri, 3 Mar 2017 18:00:36 +0000 (18:00 +0000)]
Merge "Address feedback from API council for INITIAL_URI."

7 years agoMerge "Prevent PiP movement while the resize animation is running."
Winson Chung [Fri, 3 Mar 2017 17:28:42 +0000 (17:28 +0000)]
Merge "Prevent PiP movement while the resize animation is running."

7 years agoMerge "move PermissionsSummaryHelper into SettingsLib to share with car/settings"
Roger Xue [Fri, 3 Mar 2017 17:06:55 +0000 (17:06 +0000)]
Merge "move PermissionsSummaryHelper into SettingsLib to share with car/settings"

7 years agoMerge "Fix DND status icon not showing"
TreeHugger Robot [Fri, 3 Mar 2017 17:05:30 +0000 (17:05 +0000)]
Merge "Fix DND status icon not showing"

7 years agoMerge "Fix small tile state issue"
TreeHugger Robot [Fri, 3 Mar 2017 17:02:16 +0000 (17:02 +0000)]
Merge "Fix small tile state issue"

7 years agoMerge "Add extra indicating honored query arguments."
TreeHugger Robot [Fri, 3 Mar 2017 16:35:09 +0000 (16:35 +0000)]
Merge "Add extra indicating honored query arguments."

7 years agoMerge "Save TaskRecord before calling performClearTaskLocked."
Bryce Lee [Fri, 3 Mar 2017 15:16:50 +0000 (15:16 +0000)]
Merge "Save TaskRecord before calling performClearTaskLocked."

7 years agoMerge "Remove mTask from AppWindowToken."
Bryce Lee [Fri, 3 Mar 2017 15:14:20 +0000 (15:14 +0000)]
Merge "Remove mTask from AppWindowToken."

7 years agoMerge "Add more instrumentation to BackupManagerService"
Anton Philippov [Fri, 3 Mar 2017 15:09:00 +0000 (15:09 +0000)]
Merge "Add more instrumentation to BackupManagerService"

7 years agoFix small tile state issue
Jason Monk [Fri, 3 Mar 2017 14:10:50 +0000 (09:10 -0500)]
Fix small tile state issue

On catching exception was assigning to an unused value.

Test: make
Change-Id: Ic70759f02cabdbc3833c94bb89c1e3a776fbbf59

7 years agoMerge "Move value for the Build.CUR_DEVELOPMENT constant into libcore" am: 3e6c189c68...
Tobias Thierer [Fri, 3 Mar 2017 12:19:35 +0000 (12:19 +0000)]
Merge "Move value for the Build.CUR_DEVELOPMENT constant into libcore" am: 3e6c189c68 am: 50351bd85c
am: e8903c666a

Change-Id: I45e9a8b2b084a892f754f27a044d70318eb99772

7 years agoMerge "Move value for the Build.CUR_DEVELOPMENT constant into libcore" am: 3e6c189c68
Tobias Thierer [Fri, 3 Mar 2017 12:14:04 +0000 (12:14 +0000)]
Merge "Move value for the Build.CUR_DEVELOPMENT constant into libcore" am: 3e6c189c68
am: 50351bd85c

Change-Id: I155559d6c283e58c14995cec8423924ef14bd5b0

7 years agoMerge "Move value for the Build.CUR_DEVELOPMENT constant into libcore"
Tobias Thierer [Fri, 3 Mar 2017 12:07:59 +0000 (12:07 +0000)]
Merge "Move value for the Build.CUR_DEVELOPMENT constant into libcore"
am: 3e6c189c68

Change-Id: I981b746a28cda09d7a75fa79faeacb2cc58b1fc4

7 years agoMerge "Move value for the Build.CUR_DEVELOPMENT constant into libcore"
Tobias Thierer [Fri, 3 Mar 2017 12:02:09 +0000 (12:02 +0000)]
Merge "Move value for the Build.CUR_DEVELOPMENT constant into libcore"

7 years agoMerge "fd_utils: switch to libbase logging." am: 982f42f71c am: a31b7d383f
Narayan Kamath [Fri, 3 Mar 2017 11:17:51 +0000 (11:17 +0000)]
Merge "fd_utils: switch to libbase logging." am: 982f42f71c am: a31b7d383f
am: 5d763a36b4

Change-Id: I837fa62065df0acd7f3fc8d3e605709861107ab4

7 years agoMerge "fd_utils: switch to libbase logging." am: 982f42f71c
Narayan Kamath [Fri, 3 Mar 2017 11:12:50 +0000 (11:12 +0000)]
Merge "fd_utils: switch to libbase logging." am: 982f42f71c
am: a31b7d383f

Change-Id: I55defd68178a4374e0f1b138fa320db1cfe8a448

7 years agoMerge "fd_utils: switch to libbase logging."
Narayan Kamath [Fri, 3 Mar 2017 11:07:19 +0000 (11:07 +0000)]
Merge "fd_utils: switch to libbase logging."
am: 982f42f71c

Change-Id: I22364e3242317761ac27c51c54efb84dd6aee815

7 years agoMerge "fd_utils: switch to libbase logging."
Narayan Kamath [Fri, 3 Mar 2017 10:59:23 +0000 (10:59 +0000)]
Merge "fd_utils: switch to libbase logging."

7 years agoMerge "fd_utils: add missing logging for a couple of failure cases." am: 9dbcff7d73...
Narayan Kamath [Fri, 3 Mar 2017 10:52:32 +0000 (10:52 +0000)]
Merge "fd_utils: add missing logging for a couple of failure cases." am: 9dbcff7d73 am: 04d17c07cc
am: 7e0db82cd5

Change-Id: Ibbcdcb8d4b9e47ef7963e1521ceb9d4179de13de

7 years agoMerge "fd_utils: add missing logging for a couple of failure cases." am: 9dbcff7d73
Narayan Kamath [Fri, 3 Mar 2017 10:46:47 +0000 (10:46 +0000)]
Merge "fd_utils: add missing logging for a couple of failure cases." am: 9dbcff7d73
am: 04d17c07cc

Change-Id: I736ac35b6f040b9470ec51fb7804bebb38afb6fe

7 years agoMerge "fd_utils: add missing logging for a couple of failure cases."
Narayan Kamath [Fri, 3 Mar 2017 10:41:46 +0000 (10:41 +0000)]
Merge "fd_utils: add missing logging for a couple of failure cases."
am: 9dbcff7d73

Change-Id: Iabd49e8f322e926b1b157ff85f1e9e4f66b0f56a

7 years agoMerge "fd_utils: add missing logging for a couple of failure cases."
Narayan Kamath [Fri, 3 Mar 2017 10:34:36 +0000 (10:34 +0000)]
Merge "fd_utils: add missing logging for a couple of failure cases."

7 years agoMerge "Use iterator to remove elements from collection when traversing it"
Michal Karpinski [Fri, 3 Mar 2017 10:02:13 +0000 (10:02 +0000)]
Merge "Use iterator to remove elements from collection when traversing it"

7 years agoMerge "Fill-provider can control the negative button label and listener"
TreeHugger Robot [Fri, 3 Mar 2017 04:45:35 +0000 (04:45 +0000)]
Merge "Fill-provider can control the negative button label and listener"

7 years agoMerge "Allow auto-fill services to disable themselves"
TreeHugger Robot [Fri, 3 Mar 2017 04:45:35 +0000 (04:45 +0000)]
Merge "Allow auto-fill services to disable themselves"

7 years agoMerge changes from topic 'secondary-dex1' am: d56d98b860 am: e6f3ed6aef
Calin Juravle [Fri, 3 Mar 2017 04:10:02 +0000 (04:10 +0000)]
Merge changes from topic 'secondary-dex1' am: d56d98b860 am: e6f3ed6aef
am: 969327b823  -s ours

Change-Id: I03c3f76927e4d9e46d512fe9074cacb10d743167

7 years agoMerge "Add a missing write lock to settings state."
Svetoslav Ganov [Fri, 3 Mar 2017 04:08:17 +0000 (04:08 +0000)]
Merge "Add a missing write lock to settings state."

7 years agoMerge changes from topic 'secondary-dex1' am: d56d98b860
Calin Juravle [Fri, 3 Mar 2017 03:56:13 +0000 (03:56 +0000)]
Merge changes from topic 'secondary-dex1' am: d56d98b860
am: e6f3ed6aef

Change-Id: Ia637e1c6caccf33137cde413779911dab5677147

7 years agoMerge "Remove the name length limit for system properties." am: c657b769ab am: 6f00e6e977
Elliott Hughes [Fri, 3 Mar 2017 03:52:37 +0000 (03:52 +0000)]
Merge "Remove the name length limit for system properties." am: c657b769ab am: 6f00e6e977
am: b088dd5d15  -s ours

Change-Id: I4c40815a0bbb4bf216fb9ac98c9c37853a74c5a0

7 years agoMerge changes from topic 'secondary-dex1'
Calin Juravle [Fri, 3 Mar 2017 03:51:04 +0000 (03:51 +0000)]
Merge changes from topic 'secondary-dex1'
am: d56d98b860

Change-Id: Ia9c1329584597a6f30aeaa2bd8e8c979705d8eea

7 years agoMerge changes from topic 'secondary-dex' am: 9e88c53337 am: a400ccdaa0
Calin Juravle [Fri, 3 Mar 2017 03:45:39 +0000 (03:45 +0000)]
Merge changes from topic 'secondary-dex' am: 9e88c53337 am: a400ccdaa0
am: aa95700b54

Change-Id: I79aa3a24a3982ca60bb1b51323e0b9f6736a7119

7 years agoSave package dex usage info after secondary dex reconciliation am: 61fd6eab46 am...
Calin Juravle [Fri, 3 Mar 2017 03:44:41 +0000 (03:44 +0000)]
Save package dex usage info after secondary dex reconciliation am: 61fd6eab46 am: ade90057c6
am: efb30d85a5  -s ours

Change-Id: Iff414ec5fcaa700a84c92067425e3717bfddc7b6

7 years agoCompile secondary dex files during background dexopt job am: 574994afde am: 112a61bf32
Calin Juravle [Fri, 3 Mar 2017 03:43:42 +0000 (03:43 +0000)]
Compile secondary dex files during background dexopt job am: 574994afde am: 112a61bf32
am: 36bc489096  -s ours

Change-Id: I5b884dd7119d79489c303c3e5c6c1b1871a212b2

7 years agoAdd a shell command to force the background dexopt job am: f7edab63d9 am: 90ac28d618
Calin Juravle [Fri, 3 Mar 2017 03:42:42 +0000 (03:42 +0000)]
Add a shell command to force the background dexopt job am: f7edab63d9 am: 90ac28d618
am: 6f80bb4166  -s ours

Change-Id: I65e4ec53d906309914bf8e1b3420c2264c8f7370

7 years agoMerge changes from topic 'secondary-dex1'
Calin Juravle [Fri, 3 Mar 2017 03:42:33 +0000 (03:42 +0000)]
Merge changes from topic 'secondary-dex1'

* changes:
  Use DexManager logic to decide if a package is used by other apps
  Skip class path checking for secondary dex files

7 years agoA bit more refactoring in BackgroundDexOptService am: a57ef16375 am: a0358c9e32
Calin Juravle [Fri, 3 Mar 2017 03:41:38 +0000 (03:41 +0000)]
A bit more refactoring in BackgroundDexOptService am: a57ef16375 am: a0358c9e32
am: ff7bde0fa3  -s ours

Change-Id: I58955e558e574e01beaf40e5ecde994e79a3a2d4

7 years ago[PM] Clean up logic for secondary dex oat files am: e69fba3f7f am: 110e897eaa
Calin Juravle [Fri, 3 Mar 2017 03:40:41 +0000 (03:40 +0000)]
[PM] Clean up logic for secondary dex oat files am: e69fba3f7f am: 110e897eaa
am: 29f08b9f1b  -s ours

Change-Id: I9d1626a88d2d3743f2ca2c2493c8a46d3cbaf80c

7 years agoCompile secondary dex files in DexManager am: 7218363a92 am: 468be64cf2
Calin Juravle [Fri, 3 Mar 2017 03:39:42 +0000 (03:39 +0000)]
Compile secondary dex files in DexManager am: 7218363a92 am: 468be64cf2
am: 97b4de24d2  -s ours

Change-Id: I243bf467552438f5085b609a23d1a6161e28506b

7 years agoNotify DexManager about new package installs am: fcd672fca3 am: 27ea592098
Calin Juravle [Fri, 3 Mar 2017 03:38:34 +0000 (03:38 +0000)]
Notify DexManager about new package installs am: fcd672fca3 am: 27ea592098
am: a6adb97aa0  -s ours

Change-Id: Iaad413350849a6e1fc225d26d50977f5a4983f0f

7 years agoAAPT2: Fix escaping sequence processing in XML parsing
Adam Lesinski [Fri, 3 Mar 2017 03:31:28 +0000 (19:31 -0800)]
AAPT2: Fix escaping sequence processing in XML parsing

Bug: 35483813
Test: make aapt2_tests
Change-Id: I68baba17ab3639c220b734a2a68d86aad0dedf8c

7 years agoAdd a missing write lock to settings state.
Svet Ganov [Fri, 3 Mar 2017 02:52:28 +0000 (18:52 -0800)]
Add a missing write lock to settings state.

Atomic file requires sync between writers otherwise we may end
up with partially written settings file and no backup to recover.

Test: not testable by how we hold a mutex

bug:35915719

Change-Id: I97eebf869fa7e4989dcd2a29e4418c22706edcb8

7 years agoFill-provider can control the negative button label and listener
Svet Ganov [Wed, 1 Mar 2017 18:38:34 +0000 (10:38 -0800)]
Fill-provider can control the negative button label and listener

Test: New CTS tests added and all autp-fill tests pass

bug:35869744

Change-Id: I55e5938038e612d728498658a763208f7022f85a

7 years agoAllow auto-fill services to disable themselves
Svet Ganov [Tue, 28 Feb 2017 21:08:56 +0000 (13:08 -0800)]
Allow auto-fill services to disable themselves

1. Added a new API for a connected auto-fill service to
   disable itself

2. Added a new shell command to destroy all pending sessions
   which is used in CTS tests

3. Fixed a bug where the unbind timeout was in minutes
   instead of seconds

Test: wrote CTS tests, all auto-fill tests pass

bug:35848030

Change-Id: I681605aa0b8c004a0f14e30b57117c291d89a894

7 years agoRevert "Remove AHardwareBuffer_ API from libandroid"
Mathias Agopian [Fri, 3 Mar 2017 02:50:28 +0000 (18:50 -0800)]
Revert "Remove AHardwareBuffer_ API from libandroid"

This reverts commit 8e90cc3e3adf1d84b92b0b165193762cc8bb295d.

Both ANativeWindow and AHardwareBuffer need to be
available in libandroid (as well as libnativewindow)
otherwise it would make our developer’s life
very difficult when they want to support multiple
versions of android.

Moreover, this would have an impact on AndroidStudio
when doing an NDK project.

Test: compiled
Bug: treble

Change-Id: I2cc63b06b3f80fa80f7170ba2ba2996228fa9b2c

7 years agoMerge "Make sure to call the original reply-to receiver when..."
TreeHugger Robot [Fri, 3 Mar 2017 02:53:17 +0000 (02:53 +0000)]
Merge "Make sure to call the original reply-to receiver when..."

7 years agoMerge "Resize task to fullscreen when moving from pinned stack."
TreeHugger Robot [Fri, 3 Mar 2017 02:37:25 +0000 (02:37 +0000)]
Merge "Resize task to fullscreen when moving from pinned stack."

7 years agoUse DexManager logic to decide if a package is used by other apps
Calin Juravle [Thu, 2 Mar 2017 03:55:35 +0000 (19:55 -0800)]
Use DexManager logic to decide if a package is used by other apps

Stop relying on the file marker recorded by the runtime. We have the
same data available from the DexManager.

The clean up CL to remove the handling of the file markers will follow.

Test: verify that "shared packages" (e.g. gmscore) are not compiled with speed-profile.

Bug: 32871170

(cherry picked from commit 07b6eabe79261267ecd7114790e96e1f6828672a)

Change-Id: I2969b75fa77d38dde0073ef67aa89b1dc91237b5

Merged-In: I6cc5834ac88489e69896cd5fba9ed9968aa7f5a2

7 years agoSkip class path checking for secondary dex files
Calin Juravle [Wed, 15 Feb 2017 01:53:13 +0000 (17:53 -0800)]
Skip class path checking for secondary dex files

Pass '&' marker to dex2oat classpath when compiling secondary dex files.
This will skip class path checking when loading the oat files.

Test: adb shell cmd package compile -m speed -f --secondary-dex com.google.android.gms
      oatdump --header-only --oat-
file=/data/user/0/com.google.android.gms/app_chimera/m/00000006/oat/arm64/DynamiteModulesC_GmsCore_prodmnc_alldpi_release
      check that the class path contains the special '&' marker

Bug: 32871170

(cherry picked from commit aae35767b6bca6f872c906a0fd38d7adb61217bd)

Change-Id: I7f3c6743e749316ee02e8586a525ad28ae1ef765

Merged-In: If0628aeb4e3f5717604bfc4a87a4b1d438e5fa65

7 years agoMerge "Fix issue #35365651: ActivityManager.getPackageImportance() doesn't..."
TreeHugger Robot [Fri, 3 Mar 2017 01:50:12 +0000 (01:50 +0000)]
Merge "Fix issue #35365651: ActivityManager.getPackageImportance() doesn't..."

7 years agoMerge "Revert "Modify SurfaceView to use SurfaceFlinger child surfaces.""
Rob Carr [Fri, 3 Mar 2017 01:19:04 +0000 (01:19 +0000)]
Merge "Revert "Modify SurfaceView to use SurfaceFlinger child surfaces.""

7 years agoMerge "Revert "Correct dissapearing SurfaceView during exit animations.""
Rob Carr [Fri, 3 Mar 2017 01:17:01 +0000 (01:17 +0000)]
Merge "Revert "Correct dissapearing SurfaceView during exit animations.""

7 years agoMerge "Revert "SurfaceView: Include surfaceInsets in position calculation""
Rob Carr [Fri, 3 Mar 2017 01:16:25 +0000 (01:16 +0000)]
Merge "Revert "SurfaceView: Include surfaceInsets in position calculation""

7 years agoRevert "Correct dissapearing SurfaceView during exit animations."
Rob Carr [Fri, 3 Mar 2017 01:15:48 +0000 (01:15 +0000)]
Revert "Correct dissapearing SurfaceView during exit animations."

This reverts commit 026a6c45e77d3dec8f7ae26b74fe6fba18021caf.

Change-Id: I3ff0d64ca9f91aef4b5a53ed47e4d05f0d128e11

7 years agoRevert "SurfaceView: Include surfaceInsets in position calculation"
Rob Carr [Fri, 3 Mar 2017 01:15:36 +0000 (01:15 +0000)]
Revert "SurfaceView: Include surfaceInsets in position calculation"

This reverts commit 8c31e1db2a2cea4278503d6b9b27bca87946ef36.

Change-Id: Id25f493ca272878c2105f9cd302db1e05284998d

7 years agoMake sure to call the original reply-to receiver when...
Makoto Onuki [Thu, 2 Mar 2017 23:33:17 +0000 (15:33 -0800)]
Make sure to call the original reply-to receiver when...

replacing a queued broadcast.

- Also don't replace a broadcast for a different user.

Test: Manual test with the following test code:

Intent intent = new Intent(Intent.ACTION_PROVIDER_CHANGED)
        .addFlags(Intent.FLAG_RECEIVER_REPLACE_PENDING);
AlarmManager alm = this.getSystemService(AlarmManager.class);
long time = SystemClock.elapsedRealtime() + 5 * 1000;
for (int i = 0; i < 5; i++) {
    alm.setExact(AlarmManager.ELAPSED_REALTIME, time,
            PendingIntent.getBroadcast(this, i, intent, PendingIntent.FLAG_UPDATE_CURRENT));
}

Without this CL, after the alarm fires, AlarmManagerService.mBroadcastRefCount
is left > 0 and the wake lock is held forever.

With this CL, mBroadcastRefCount eventually gets back to 0.

Bug: 35779096
Change-Id: I4e21c94b08f25f9ca1242182670ff4a69f8bd9f2

7 years agoRevert "Modify SurfaceView to use SurfaceFlinger child surfaces."
Jeff Tinker [Fri, 3 Mar 2017 00:20:22 +0000 (00:20 +0000)]
Revert "Modify SurfaceView to use SurfaceFlinger child surfaces."

This reverts commit 693f3432ae77d1fcfaaf9d168de861192aacb4c4.

P0: When playing encrypted content the Fugu displays a blank screen.

Test: with topic "surfaceview-without-wm" reverted, encrypted playback
works on ToT oc-release. See repro steps in 35917840#12.

bug:35917840

Change-Id: I37fa1e427daff3a1c18ed1c92d035421d891f67c

7 years agoMerge "Remove the name length limit for system properties." am: c657b769ab
Elliott Hughes [Fri, 3 Mar 2017 00:37:18 +0000 (00:37 +0000)]
Merge "Remove the name length limit for system properties." am: c657b769ab
am: 6f00e6e977

Change-Id: If2daf92e3b7aed37832aa0787a2c689d8bdedd97

7 years agoMerge "Remove the name length limit for system properties."
Elliott Hughes [Fri, 3 Mar 2017 00:30:10 +0000 (00:30 +0000)]
Merge "Remove the name length limit for system properties."
am: c657b769ab

Change-Id: I700b379c0482d7d9609183a39a5c9664746ea5aa

7 years agoMerge changes from topic 'secondary-dex' am: 9e88c53337
Calin Juravle [Fri, 3 Mar 2017 00:29:42 +0000 (00:29 +0000)]
Merge changes from topic 'secondary-dex' am: 9e88c53337
am: a400ccdaa0

Change-Id: I95ed98e02fe5a54699814eb617697852095ca55d

7 years agoSave package dex usage info after secondary dex reconciliation am: 61fd6eab46
Calin Juravle [Fri, 3 Mar 2017 00:28:38 +0000 (00:28 +0000)]
Save package dex usage info after secondary dex reconciliation am: 61fd6eab46
am: ade90057c6

Change-Id: I094a69564b25f84ed36b51b9064c4bb499088802

7 years agoCompile secondary dex files during background dexopt job am: 574994afde
Calin Juravle [Fri, 3 Mar 2017 00:27:44 +0000 (00:27 +0000)]
Compile secondary dex files during background dexopt job am: 574994afde
am: 112a61bf32

Change-Id: I2fd8f38ad11b9ba8e4eeff21b76356eb3c66a762

7 years agoAdd a shell command to force the background dexopt job am: f7edab63d9
Calin Juravle [Fri, 3 Mar 2017 00:26:33 +0000 (00:26 +0000)]
Add a shell command to force the background dexopt job am: f7edab63d9
am: 90ac28d618

Change-Id: I3fef4ed490036753841e09760ec929c24da0a198

7 years agoA bit more refactoring in BackgroundDexOptService am: a57ef16375
Calin Juravle [Fri, 3 Mar 2017 00:25:41 +0000 (00:25 +0000)]
A bit more refactoring in BackgroundDexOptService am: a57ef16375
am: a0358c9e32

Change-Id: Ie1e511761121f13bf106dd888129d5e3b168b818

7 years ago[PM] Clean up logic for secondary dex oat files am: e69fba3f7f
Calin Juravle [Fri, 3 Mar 2017 00:24:38 +0000 (00:24 +0000)]
[PM] Clean up logic for secondary dex oat files am: e69fba3f7f
am: 110e897eaa

Change-Id: I83d161595df4d1fee18652b8432a1950fb6f367d

7 years agoCompile secondary dex files in DexManager am: 7218363a92
Calin Juravle [Fri, 3 Mar 2017 00:23:39 +0000 (00:23 +0000)]
Compile secondary dex files in DexManager am: 7218363a92
am: 468be64cf2

Change-Id: Ie0ebc07e2cf4fd4892b9171e1823d63414eef194

7 years agoNotify DexManager about new package installs am: fcd672fca3
Calin Juravle [Fri, 3 Mar 2017 00:22:33 +0000 (00:22 +0000)]
Notify DexManager about new package installs am: fcd672fca3
am: 27ea592098

Change-Id: I3a71f8d4a6fcdad25b0b90a800d109bdeb16b3eb

7 years agoMerge "Remove the name length limit for system properties."
Elliott Hughes [Fri, 3 Mar 2017 00:22:30 +0000 (00:22 +0000)]
Merge "Remove the name length limit for system properties."

7 years agoMerge changes from topic 'secondary-dex'
Calin Juravle [Fri, 3 Mar 2017 00:13:57 +0000 (00:13 +0000)]
Merge changes from topic 'secondary-dex'
am: 9e88c53337

Change-Id: I77e80eaf9274a64348c80b251e865ecdb6e53dbc

7 years agoSave package dex usage info after secondary dex reconciliation
Calin Juravle [Fri, 3 Mar 2017 00:12:19 +0000 (00:12 +0000)]
Save package dex usage info after secondary dex reconciliation
am: 61fd6eab46

Change-Id: I90a95645e9d2acf1b2377e165a64b34b1a678295

7 years agoCompile secondary dex files during background dexopt job
Calin Juravle [Fri, 3 Mar 2017 00:10:42 +0000 (00:10 +0000)]
Compile secondary dex files during background dexopt job
am: 574994afde

Change-Id: I204983f6221c07467b450ea9e0bf71b6d15926e1

7 years agoAdd a shell command to force the background dexopt job
Calin Juravle [Fri, 3 Mar 2017 00:08:50 +0000 (00:08 +0000)]
Add a shell command to force the background dexopt job
am: f7edab63d9

Change-Id: Ie77bc356a9ff4786c23a06d1267dc7ca5e45a90a

7 years agoA bit more refactoring in BackgroundDexOptService
Calin Juravle [Fri, 3 Mar 2017 00:06:59 +0000 (00:06 +0000)]
A bit more refactoring in BackgroundDexOptService
am: a57ef16375

Change-Id: Ic258b5484eedcc68650b474acb4fa3eae8589c82

7 years ago[PM] Clean up logic for secondary dex oat files
Calin Juravle [Fri, 3 Mar 2017 00:05:07 +0000 (00:05 +0000)]
[PM] Clean up logic for secondary dex oat files
am: e69fba3f7f

Change-Id: I223b27221acf25e628003dde0f63cffe66779753

7 years agomove PermissionsSummaryHelper into SettingsLib to share with car/settings
roger xue [Wed, 1 Mar 2017 00:11:28 +0000 (16:11 -0800)]
move PermissionsSummaryHelper into SettingsLib to share with car/settings

Bug: 34679894
Test: run RunSettingsLibRoboTests -j128

Change-Id: I237534fa457052591285dfce2b36ea15793d04a5

7 years agoCompile secondary dex files in DexManager
Calin Juravle [Fri, 3 Mar 2017 00:03:17 +0000 (00:03 +0000)]
Compile secondary dex files in DexManager
am: 7218363a92

Change-Id: I53e7864b097cf9cff702e9185bb1c9091d97fe63

7 years agoNotify DexManager about new package installs
Calin Juravle [Fri, 3 Mar 2017 00:01:03 +0000 (00:01 +0000)]
Notify DexManager about new package installs
am: fcd672fca3

Change-Id: I63514deebef293d52f7811023b0915cf655514f6

7 years agoMerge "Revert "Compute merged configuration changes""
Andrii Kulian [Thu, 2 Mar 2017 23:58:41 +0000 (23:58 +0000)]
Merge "Revert "Compute merged configuration changes""

7 years agoMerge changes from topic 'secondary-dex'
Calin Juravle [Thu, 2 Mar 2017 23:54:22 +0000 (23:54 +0000)]
Merge changes from topic 'secondary-dex'

* changes:
  Fix typo in dexopt.secondary system property
  Save package dex usage info after secondary dex reconciliation
  Compile secondary dex files during background dexopt job
  Add a shell command to force the background dexopt job
  A bit more refactoring in BackgroundDexOptService
  [PM] Clean up logic for secondary dex oat files
  Compile secondary dex files in DexManager
  Notify DexManager about new package installs

7 years agoAddress feedback from API council for INITIAL_URI.
Garfield Tan [Thu, 2 Mar 2017 23:30:30 +0000 (15:30 -0800)]
Address feedback from API council for INITIAL_URI.

Test: It builds.
Bug: 35813138
Change-Id: Ia30032fb9c556547a8249c2d2ec96cf4cc5a7d90

7 years agoRevert "Compute merged configuration changes"
Andrii Kulian [Thu, 2 Mar 2017 23:39:56 +0000 (23:39 +0000)]
Revert "Compute merged configuration changes"

This reverts commit 0d8ff25fabae95d5ffc826adbb68b4036d41af41.

Reason for revert: Original CL caused b/35911519

Change-Id: Ice82b04dd00068d10f88c0d248bf95877e12cda3

7 years agoSave TaskRecord before calling performClearTaskLocked.
Bryce Lee [Thu, 2 Mar 2017 21:23:12 +0000 (13:23 -0800)]
Save TaskRecord before calling performClearTaskLocked.

If the activity exists in a task that is in persistent storage, the
task reference will be cleared when its brought to the foreground in
this method. Alternatively, if the activity is finished immediately
as a result of clearing task, the task reference will be lost.

Therefore, we must persist the task reference before calling it.

Change-Id: Id38cf6654f5d4f5b727441048dc6b9a7568b574e
Fixes: 35868563
Test: manual (code and bugreport inspection)

7 years agoMerge "Fix potential use-after-free in LayerUpdateQueue"
TreeHugger Robot [Thu, 2 Mar 2017 23:16:24 +0000 (23:16 +0000)]
Merge "Fix potential use-after-free in LayerUpdateQueue"

7 years agoMerge "Javadoc for the recently added getMetrics()"
Ray Essick [Thu, 2 Mar 2017 23:03:58 +0000 (23:03 +0000)]
Merge "Javadoc for the recently added getMetrics()"

7 years agoMerge "Update SkiaDisplayList to use the modified SkLiteDL"
TreeHugger Robot [Thu, 2 Mar 2017 22:45:31 +0000 (22:45 +0000)]
Merge "Update SkiaDisplayList to use the modified SkLiteDL"

7 years agoFix DND status icon not showing
Jason Monk [Thu, 2 Mar 2017 22:35:49 +0000 (17:35 -0500)]
Fix DND status icon not showing

PhoneStatusBarPolicy was holding a cached value for zen mode that
wasn't getting set on startup, remove the cached value and always
get it from ZenController to be safe.

Test: Turn on DND, Kill sysui
Change-Id: Ic02bb0ceb417d491c7a2e238964f98f26799314f
Fixes: 35808491

7 years agoMerge "hotspot2: expose string constants for cert type and auth methods" am: 603fb2ef...
Peter Qiu [Thu, 2 Mar 2017 22:30:40 +0000 (22:30 +0000)]
Merge "hotspot2: expose string constants for cert type and auth methods" am: 603fb2ef56 am: d919593b9d
am: 19df6d208e

Change-Id: I184f1a40a9dc854071915609dc13322d0fc86a97

7 years agoMerge "hotspot2: expose string constants for cert type and auth methods" am: 603fb2ef56
Peter Qiu [Thu, 2 Mar 2017 22:26:00 +0000 (22:26 +0000)]
Merge "hotspot2: expose string constants for cert type and auth methods" am: 603fb2ef56
am: d919593b9d

Change-Id: I04651e913216903316e8625672cf62609e76058d

7 years agoMerge "hotspot2: expose string constants for cert type and auth methods"
Peter Qiu [Thu, 2 Mar 2017 22:21:27 +0000 (22:21 +0000)]
Merge "hotspot2: expose string constants for cert type and auth methods"
am: 603fb2ef56

Change-Id: I6ae4811e97a99c04a423c1390d87a8c21f4ae416