OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Make sure fontScale in configuration sent to app is equal to global" into...
Chong Zhang [Mon, 20 Jun 2016 18:02:48 +0000 (18:02 +0000)]
Merge "Make sure fontScale in configuration sent to app is equal to global" into nyc-dev

8 years agoMerge "SystemUI: Override notification app name" into nyc-dev
Adrian Roos [Mon, 20 Jun 2016 18:00:01 +0000 (18:00 +0000)]
Merge "SystemUI: Override notification app name" into nyc-dev

8 years agoMake sure fontScale in configuration sent to app is equal to global
Chong Zhang [Fri, 17 Jun 2016 23:24:21 +0000 (16:24 -0700)]
Make sure fontScale in configuration sent to app is equal to global

We don't want the default value 1.0 from empty config to be applied
as an override.

bug: 29367672
Change-Id: Ia9947c24fa9435ba5b208eb9bd05e0b07b574015

8 years agoMerge "Let bmgr inspect the set of whitelisted transports" into nyc-dev
Chris Tate [Mon, 20 Jun 2016 17:19:50 +0000 (17:19 +0000)]
Merge "Let bmgr inspect the set of whitelisted transports" into nyc-dev

8 years agoMerge "Fix runtime restart when using aggregated net observers." into nyc-dev
Jeff Davidson [Mon, 20 Jun 2016 16:56:13 +0000 (16:56 +0000)]
Merge "Fix runtime restart when using aggregated net observers." into nyc-dev

8 years agoMerge "Don't reference variables before they are assigned." into nyc-dev
Julia Reynolds [Mon, 20 Jun 2016 16:40:29 +0000 (16:40 +0000)]
Merge "Don't reference variables before they are assigned." into nyc-dev

8 years agoMerge "PackageManager: Don't fail app installs if dexopt fails." into nyc-dev
Narayan Kamath [Mon, 20 Jun 2016 15:19:29 +0000 (15:19 +0000)]
Merge "PackageManager: Don't fail app installs if dexopt fails." into nyc-dev

8 years agoRemove @return from void API javadoc
Robin Lee [Fri, 17 Jun 2016 11:54:21 +0000 (12:54 +0100)]
Remove @return from void API javadoc

Fix: 29500429
Change-Id: Ieddf211ad881e2e48bf593dcde6d262dd5be6c5c
(cherry picked from commit b3d6b13ad5fffaad82da4c060ba1a064a445456a)

8 years agoDon't reference variables before they are assigned.
Julia Reynolds [Mon, 20 Jun 2016 13:39:37 +0000 (09:39 -0400)]
Don't reference variables before they are assigned.

Rare but technically possible.

Change-Id: I375cd1ac0bef5b6c7295618bef087554114c3cdd
Fixes: 29394773

8 years agoMerge "QS: Fix missing tiles" into nyc-dev
Jason Monk [Mon, 20 Jun 2016 13:26:02 +0000 (13:26 +0000)]
Merge "QS: Fix missing tiles" into nyc-dev

8 years agoPackageManager: Don't fail app installs if dexopt fails.
Narayan Kamath [Mon, 20 Jun 2016 12:33:50 +0000 (13:33 +0100)]
PackageManager: Don't fail app installs if dexopt fails.

bug: 29493857
Change-Id: I953de204319b943d9389bb4c787f859e169e8d21

8 years agoMerge "Fix for the missing sync bug" into nyc-dev
Shreyas Basarge [Mon, 20 Jun 2016 09:17:20 +0000 (09:17 +0000)]
Merge "Fix for the missing sync bug" into nyc-dev

8 years agoMerge "assume a generous prior in the rate estimator" into nyc-dev
Chris Wren [Sat, 18 Jun 2016 19:28:16 +0000 (19:28 +0000)]
Merge "assume a generous prior in the rate estimator" into nyc-dev

8 years agoMerge "DO NOT MERGE Move SurfaceView offscreen if the app stops drawing it" into...
TreeHugger Robot [Sat, 18 Jun 2016 02:07:04 +0000 (02:07 +0000)]
Merge "DO NOT MERGE Move SurfaceView offscreen if the app stops drawing it" into nyc-dev

8 years agoMerge "Avoid re-calculating vsync mid-frame" into nyc-dev
TreeHugger Robot [Sat, 18 Jun 2016 02:00:59 +0000 (02:00 +0000)]
Merge "Avoid re-calculating vsync mid-frame" into nyc-dev

8 years agoMerge "Fix a race in local settings caches" into nyc-dev
TreeHugger Robot [Sat, 18 Jun 2016 00:30:26 +0000 (00:30 +0000)]
Merge "Fix a race in local settings caches" into nyc-dev

8 years agoMerge "Fix race with BT disable in BLE_ON_STATE" into nyc-dev
Andre Eisenbach [Sat, 18 Jun 2016 00:15:18 +0000 (00:15 +0000)]
Merge "Fix race with BT disable in BLE_ON_STATE" into nyc-dev

8 years agoMerge "Fix data race" into nyc-dev
TreeHugger Robot [Fri, 17 Jun 2016 23:42:58 +0000 (23:42 +0000)]
Merge "Fix data race" into nyc-dev

8 years agoMerge "Unspecified alarm worksource names are the rule, not the exception" into nyc-dev
Chris Tate [Fri, 17 Jun 2016 23:20:18 +0000 (23:20 +0000)]
Merge "Unspecified alarm worksource names are the rule, not the exception" into nyc-dev

8 years agoUnspecified alarm worksource names are the rule, not the exception
Christopher Tate [Fri, 17 Jun 2016 23:09:31 +0000 (16:09 -0700)]
Unspecified alarm worksource names are the rule, not the exception

Bug 29443799

Change-Id: I6457a3680a26c900ed9c8e2ac2ab3f5fc4dfc007

8 years agoMerge \\"Fix spelling error in Core App Quality docs.\\" into mnc-io-docs am: 3c8b96ad1f
Aurimas Liutikas [Fri, 17 Jun 2016 23:11:23 +0000 (23:11 +0000)]
Merge \\"Fix spelling error in Core App Quality docs.\\" into mnc-io-docs am: 3c8b96ad1f
am: cd9cc200d8

Change-Id: I590329103ed52b33e01b90964fa2a142c9e6e133

8 years agoMerge \"Fix spelling error in Core App Quality docs.\" into mnc-io-docs
Aurimas Liutikas [Fri, 17 Jun 2016 23:06:08 +0000 (23:06 +0000)]
Merge \"Fix spelling error in Core App Quality docs.\" into mnc-io-docs
am: 3c8b96ad1f

Change-Id: I78b545d5bf018f7c9fd94397365753c8120700fe

8 years agoSystemUI: Override notification app name
Adrian Roos [Fri, 17 Jun 2016 22:59:49 +0000 (15:59 -0700)]
SystemUI: Override notification app name

Overrides the notification app name for all SystemUI notifications.

Change-Id: Ic7676069aa03d5b83f0fbe0e8c3ad9820453118a
Fixes: 26517701

8 years agoMerge "Fix spelling error in Core App Quality docs." into mnc-io-docs
Aurimas Liutikas [Fri, 17 Jun 2016 22:57:01 +0000 (22:57 +0000)]
Merge "Fix spelling error in Core App Quality docs." into mnc-io-docs

8 years agoFix a race in local settings caches
Svetoslav Ganov [Fri, 17 Jun 2016 22:27:43 +0000 (15:27 -0700)]
Fix a race in local settings caches

We send a handle to the generation tracker along with the first accessed
setting but don't send the generation id of when the setting was
actually looked up. So by the time the client gets the setting with the
generation tracker from which to get and cache the last generation the
setting may have changed. We need to pass the generation id along with
the value and the generation tracker.

bug:29458487

Change-Id: I0ac4955ba5b10b547f8fe653a7c28e048a4691eb

8 years agoMerge "Add pm operation to set user restrictions." into nyc-dev
TreeHugger Robot [Fri, 17 Jun 2016 22:03:58 +0000 (22:03 +0000)]
Merge "Add pm operation to set user restrictions." into nyc-dev

8 years agoMerge "Clean up ex-users in lock settings db" into nyc-dev
Amith Yamasani [Fri, 17 Jun 2016 21:55:59 +0000 (21:55 +0000)]
Merge "Clean up ex-users in lock settings db" into nyc-dev

8 years agoMerge "Don't dispatch Uris with appended user handle" into nyc-dev
Svetoslav Ganov [Fri, 17 Jun 2016 21:51:33 +0000 (21:51 +0000)]
Merge "Don't dispatch Uris with appended user handle" into nyc-dev

8 years agoFix data race
Adrian Roos [Fri, 17 Jun 2016 21:28:27 +0000 (14:28 -0700)]
Fix data race

Fixes a race in BluetoothControllerImpl that could lead
to a ConcurrentModificationException, by moving the manipulation
of the callbacks array to the handler.

Change-Id: I7c3be74d239d4706f55357f54e539b7b6439e76d
Fixes: 29390132

8 years agoMerge "Ensure that the tint is properly applied in docked mode." into nyc-dev
Winson Chung [Fri, 17 Jun 2016 21:29:02 +0000 (21:29 +0000)]
Merge "Ensure that the tint is properly applied in docked mode." into nyc-dev

8 years agoFix race with BT disable in BLE_ON_STATE
Calvin On [Thu, 16 Jun 2016 00:58:23 +0000 (17:58 -0700)]
Fix race with BT disable in BLE_ON_STATE

This will restart the BT stack when it detects a transition
into OFF state while the user enable flag (mEnable) is set.

Bug: 29363429
Change-Id: I9839119b34c4694ad92e96240c6989008b2f8d52

8 years agoAvoid re-calculating vsync mid-frame
John Reck [Fri, 17 Jun 2016 19:57:12 +0000 (12:57 -0700)]
Avoid re-calculating vsync mid-frame

Fixes: 29072773

By using computeFrameTime AnimationContext would
potentially end up modifying the latest vsync if
a very-slow frame was received from the UI thread.

This could potentially desync animations that were
RT & UI thread 'synchronized', but more significantly
it would confuse the swap chain which tries to only
draw one frame per vsync causing unneccessary frame
drops.

Change-Id: Ibd2ec3157ce32fee1eec8d56837c45a35e622895

8 years agoMerge "Work on issue #29328569: NPE in " com.google.android.configupdater"" into...
Dianne Hackborn [Fri, 17 Jun 2016 20:33:21 +0000 (20:33 +0000)]
Merge "Work on issue #29328569: NPE in " com.google.android.configupdater"" into nyc-dev

8 years agoDO NOT MERGE Move SurfaceView offscreen if the app stops drawing it
John Reck [Thu, 16 Jun 2016 22:36:13 +0000 (15:36 -0700)]
DO NOT MERGE Move SurfaceView offscreen if the app stops drawing it

Bug: 29360411
Change-Id: Iefb9d7a9dafb34a2b4f79130a2a8b5a7cf7de906
(cherry picked from commit aa6e84f21ddf89ea649a3f00044bc23adfe86978)

8 years agoMerge "QS Edit: Fix auto-selecting add location" into nyc-dev
TreeHugger Robot [Fri, 17 Jun 2016 20:22:45 +0000 (20:22 +0000)]
Merge "QS Edit: Fix auto-selecting add location" into nyc-dev

8 years agoassume a generous prior in the rate estimator
Chris Wren [Fri, 17 Jun 2016 19:47:19 +0000 (15:47 -0400)]
assume a generous prior in the rate estimator

currently with one data point the estimator is biased high. If we don't
have any data we want to be biased low to allow the first interaction
to be an isolated burst.

Also add metrics for enqueue rate to make it easier to debug this
code in the future (currently we only have metrics after the
rate limiter).

Bug: 29379789
Change-Id: I7b1d379290a55f120d039fd29d1bc0abbc6d4932

8 years agoMerge "QS API: Fix mService and mTile being null once and for all" into nyc-dev
TreeHugger Robot [Fri, 17 Jun 2016 18:38:25 +0000 (18:38 +0000)]
Merge "QS API: Fix mService and mTile being null once and for all" into nyc-dev

8 years agoMerge "Merge \\"Docs: Completed updates to the Data Binding docs\\" into mnc-io-docs...
Android Build Merger (Role) [Fri, 17 Jun 2016 18:35:50 +0000 (18:35 +0000)]
Merge "Merge \\"Docs: Completed updates to the Data Binding docs\\" into mnc-io-docs am: eebe22fef6 am: f693ea687f" into nyc-dev

8 years agoMerge \\"Docs: Completed updates to the Data Binding docs\\" into mnc-io-docs am...
Hemal Patel [Fri, 17 Jun 2016 18:35:24 +0000 (18:35 +0000)]
Merge \\"Docs: Completed updates to the Data Binding docs\\" into mnc-io-docs am: eebe22fef6
am: f693ea687f

Change-Id: I235e73606098e54fc14568c6437af314f9bea337

8 years agoMerge "docs: NDK r12 release notes and downloads" into nyc-dev
Joe Fernandez [Fri, 17 Jun 2016 18:35:07 +0000 (18:35 +0000)]
Merge "docs: NDK r12 release notes and downloads" into nyc-dev

8 years agoMerge \"Docs: Completed updates to the Data Binding docs\" into mnc-io-docs
Yigit Boyar [Fri, 17 Jun 2016 18:31:17 +0000 (18:31 +0000)]
Merge \"Docs: Completed updates to the Data Binding docs\" into mnc-io-docs
am: eebe22fef6

Change-Id: I47b4003b1bd1bb5cdfc12bde543dd2c9d8babdcc

8 years agoMerge "Docs: Completed updates to the Data Binding docs" into mnc-io-docs
Hemal Patel [Fri, 17 Jun 2016 18:25:47 +0000 (18:25 +0000)]
Merge "Docs: Completed updates to the Data Binding docs" into mnc-io-docs

8 years agoMerge "Do a forceLayout if pending insets is changed after relayout window" into...
Chong Zhang [Fri, 17 Jun 2016 18:22:29 +0000 (18:22 +0000)]
Merge "Do a forceLayout if pending insets is changed after relayout window" into nyc-dev

8 years agodocs: NDK r12 release notes and downloads
Joe Fernandez [Thu, 16 Jun 2016 20:31:28 +0000 (13:31 -0700)]
docs: NDK r12 release notes and downloads

b/29188616

Change-Id: Ida2b9b0e308799f9001127006e3be84318857aaa

8 years agoQS: Fix missing tiles
Jason Monk [Fri, 17 Jun 2016 17:48:44 +0000 (13:48 -0400)]
QS: Fix missing tiles

It was possible for the state to be updated in the background
but before the callback was actually registered and never propagate
to the UI.  Call the callback directly after it is added (from the
QS thread) to ensure that the current state gets sent out on tiles
being added.

Change-Id: Idd76dce5cbc9dc9c99f9b3dc13998751fd170582
Fixes: 29419435

8 years agoMerge "Fix shade background not aligning with bottom of a group" into nyc-dev
Mady Mellor [Fri, 17 Jun 2016 17:22:34 +0000 (17:22 +0000)]
Merge "Fix shade background not aligning with bottom of a group" into nyc-dev

8 years agoMerge "Bring out your toggles" into nyc-dev
Jason Monk [Fri, 17 Jun 2016 17:22:01 +0000 (17:22 +0000)]
Merge "Bring out your toggles" into nyc-dev

8 years agoQS Edit: Fix auto-selecting add location
Jason Monk [Fri, 17 Jun 2016 17:15:34 +0000 (13:15 -0400)]
QS Edit: Fix auto-selecting add location

We depend on a layout listener for when we ask for focus, but layout
sometimes doesn't happen.  Make it always happen.

Change-Id: I7c805470c6ce9863bf7eac627f59d49191ce8946
Fixes: 29126464

8 years agoQS API: Fix mService and mTile being null once and for all
Jason Monk [Fri, 17 Jun 2016 16:42:59 +0000 (12:42 -0400)]
QS API: Fix mService and mTile being null once and for all

Change-Id: Idd82e4c2f6cfc2b30432e15e23963c1d7a959e43
Fixes: 29121793

8 years agoFix spelling error in Core App Quality docs.
Aurimas Liutikas [Thu, 16 Jun 2016 19:15:56 +0000 (12:15 -0700)]
Fix spelling error in Core App Quality docs.

Bug:
https://code.google.com/p/android/issues/detail?id=213248

Change-Id: Idf83eb4fdc09bc3c78a7786b4bf11707178092c7
(cherry picked from commit 08b10586120f3db6e29e5ece9c3e05462f0c01e9)

8 years agoMerge "Do not schedule restarts if the system is shutting down" into nyc-dev
Fyodor Kupolov [Fri, 17 Jun 2016 16:01:09 +0000 (16:01 +0000)]
Merge "Do not schedule restarts if the system is shutting down" into nyc-dev

8 years agoMerge "Call AppOpsService from the handler thread" into nyc-dev
Fyodor Kupolov [Fri, 17 Jun 2016 15:59:06 +0000 (15:59 +0000)]
Merge "Call AppOpsService from the handler thread" into nyc-dev

8 years agoBring out your toggles
Jason Monk [Fri, 17 Jun 2016 14:19:43 +0000 (10:19 -0400)]
Bring out your toggles

Switch Wifi and BT back to toggling from QQS.  Make cell open a
detail panel.

Change-Id: Ibdd8fa52a31c4bf81ee0e6974e263b46b6f71a31
Fixes: 29406644

8 years agoMerge "Notify user when application does not support current display zoom" into nyc-dev
Alan Viverette [Fri, 17 Jun 2016 13:59:12 +0000 (13:59 +0000)]
Merge "Notify user when application does not support current display zoom" into nyc-dev

8 years agoMerge "Allow stopping user to access AppWidgetService API" into nyc-dev
Tony Mak [Fri, 17 Jun 2016 13:25:05 +0000 (13:25 +0000)]
Merge "Allow stopping user to access AppWidgetService API" into nyc-dev

8 years agoDo not schedule restarts if the system is shutting down
Fyodor Kupolov [Thu, 16 Jun 2016 23:29:05 +0000 (16:29 -0700)]
Do not schedule restarts if the system is shutting down

Bug: 29357754
Change-Id: Id5cf43fb6c4c6ea04d60bd09e910a9cec194c753

8 years agoDo a forceLayout if pending insets is changed after relayout window
Chong Zhang [Fri, 17 Jun 2016 00:28:25 +0000 (17:28 -0700)]
Do a forceLayout if pending insets is changed after relayout window

We might have a pending MSG_RESIZED_REPORT, but if it's executed after
relayoutWindow, mPendingInsets will already be the new value and it'll
not forceLayout. So we need to forceLayout here to make sure the measure
cache is cleared.

bug: 29391054

Change-Id: I73793b1427b89e75700369ec3b37053a6a732f0d

8 years agoDO NOT MERGE: Don\\\\\\\\\\\'t trust callers to supply app info to bindBackupAgent...
Christopher Tate [Fri, 17 Jun 2016 00:41:07 +0000 (00:41 +0000)]
DO NOT MERGE: Don\\\\\\\\\\\'t trust callers to supply app info to bindBackupAgent() am: d85a4ed283 am: f615799ef2 am: 6633a4fee4  -s ours am: 41821a26a5  -s ours am: b1e31ad140 am: 918fb5d453 am: 2149ebeadf  -s ours am: c61f35ed9a am: 34fb87b519 am: 1a450675f3
am: 790c87a05b  -s ours

Change-Id: I33148f02fc665d5ffa7f6a651ce2b6102456eb1b

8 years agoDO NOT MERGE: Don\\\\\\\\\\'t trust callers to supply app info to bindBackupAgent...
Christopher Tate [Fri, 17 Jun 2016 00:34:47 +0000 (00:34 +0000)]
DO NOT MERGE: Don\\\\\\\\\\'t trust callers to supply app info to bindBackupAgent() am: d85a4ed283 am: f615799ef2 am: 6633a4fee4  -s ours am: 41821a26a5  -s ours am: b1e31ad140 am: 918fb5d453 am: 2149ebeadf  -s ours am: c61f35ed9a am: 34fb87b519
am: 1a450675f3

Change-Id: I5fef884dbf640b60c1bf4c28a6d95abb4d42061b

8 years agoresolve merge conflicts of cffb19c to mnc-dev am: 3f9ea2d386 am: d6c1126fab am: e2c9b...
Christopher Tate [Fri, 17 Jun 2016 00:32:26 +0000 (00:32 +0000)]
resolve merge conflicts of cffb19c to mnc-dev am: 3f9ea2d386 am: d6c1126fab am: e2c9b1af3e
am: d2a4e1b39c

Change-Id: I8e59a88278ba50ab7e3768031611065131ed6834

8 years agoDO NOT MERGE: Don\\\\\\\\\'t trust callers to supply app info to bindBackupAgent...
Christopher Tate [Fri, 17 Jun 2016 00:31:08 +0000 (00:31 +0000)]
DO NOT MERGE: Don\\\\\\\\\'t trust callers to supply app info to bindBackupAgent() am: d85a4ed283 am: f615799ef2 am: 6633a4fee4  -s ours am: 41821a26a5  -s ours am: b1e31ad140 am: 918fb5d453 am: 2149ebeadf  -s ours am: c61f35ed9a
am: 34fb87b519

Change-Id: If7444547d0bd82f43bb05439977e536a01589b3c

8 years agoresolve merge conflicts of cffb19c to mnc-dev am: 3f9ea2d386 am: d6c1126fab
Christopher Tate [Fri, 17 Jun 2016 00:24:29 +0000 (00:24 +0000)]
resolve merge conflicts of cffb19c to mnc-dev am: 3f9ea2d386 am: d6c1126fab
am: e2c9b1af3e

Change-Id: Iab52ff84be41c1d18274d1a82492b624a7456726

8 years agoDO NOT MERGE: Don\\\\\\\\'t trust callers to supply app info to bindBackupAgent(...
Christopher Tate [Fri, 17 Jun 2016 00:22:07 +0000 (00:22 +0000)]
DO NOT MERGE: Don\\\\\\\\'t trust callers to supply app info to bindBackupAgent() am: d85a4ed283 am: f615799ef2 am: 6633a4fee4  -s ours am: 41821a26a5  -s ours am: b1e31ad140 am: 918fb5d453 am: 2149ebeadf  -s ours
am: c61f35ed9a

Change-Id: Ied60b535ef69385c369110045ea755ebe9b0b94e

8 years agoresolve merge conflicts of cffb19c to mnc-dev am: 3f9ea2d386
Christopher Tate [Fri, 17 Jun 2016 00:18:48 +0000 (00:18 +0000)]
resolve merge conflicts of cffb19c to mnc-dev am: 3f9ea2d386
am: d6c1126fab

Change-Id: I0414a137b1aab218fa57f291dbf2f7a1519bd973

8 years agoDO NOT MERGE: Don\\\\\\\'t trust callers to supply app info to bindBackupAgent()...
Christopher Tate [Fri, 17 Jun 2016 00:15:14 +0000 (00:15 +0000)]
DO NOT MERGE: Don\\\\\\\'t trust callers to supply app info to bindBackupAgent() am: d85a4ed283 am: f615799ef2 am: 6633a4fee4  -s ours am: 41821a26a5  -s ours am: b1e31ad140 am: 918fb5d453
am: 2149ebeadf  -s ours

Change-Id: I42300992feac56eb94ab71e160da5fa8fc04929a

8 years agoresolve merge conflicts of cffb19c to mnc-dev
Christopher Tate [Fri, 17 Jun 2016 00:15:07 +0000 (00:15 +0000)]
resolve merge conflicts of cffb19c to mnc-dev
am: 3f9ea2d386

Change-Id: Iadf90edb02bacf645896f7d074d011a2aca4b251

8 years agoWork on issue #29328569: NPE in " com.google.android.configupdater"
Dianne Hackborn [Fri, 17 Jun 2016 00:05:47 +0000 (17:05 -0700)]
Work on issue #29328569: NPE in " com.google.android.configupdater"

Make the activity manager look at the "killed" state of a process
before deciding it is in a state where a new client can attach to
a content provider.  Hopefully this will get rid of some races
around attaching to providers and processes being killed.

Also add a little more information when killing a client of a
provider describing the oom adj of that provider's process.

Change-Id: I4efe5daf0a96e4663d5df88827ef401b1311de3f

8 years agoMerge "Remove RemoteInput on lockscreen setting" into nyc-dev
Adrian Roos [Thu, 16 Jun 2016 23:33:55 +0000 (23:33 +0000)]
Merge "Remove RemoteInput on lockscreen setting" into nyc-dev

8 years agoresolve merge conflicts of cffb19c to mnc-dev
Christopher Tate [Thu, 16 Jun 2016 23:31:39 +0000 (16:31 -0700)]
resolve merge conflicts of cffb19c to mnc-dev

Change-Id: I4dba574de2678d851e3d82961a07de27d61f5940

8 years agoMerge "docs: DP4 release notes: add Android Auto known issue" into nyc-dev
Andrew Solovay [Thu, 16 Jun 2016 23:29:13 +0000 (23:29 +0000)]
Merge "docs: DP4 release notes: add Android Auto known issue" into nyc-dev

8 years agoDO NOT MERGE: Don\\\\\\'t trust callers to supply app info to bindBackupAgent() am...
Christopher Tate [Thu, 16 Jun 2016 22:53:29 +0000 (22:53 +0000)]
DO NOT MERGE: Don\\\\\\'t trust callers to supply app info to bindBackupAgent() am: d85a4ed283 am: f615799ef2 am: 6633a4fee4  -s ours am: 41821a26a5  -s ours am: b1e31ad140
am: 918fb5d453

Change-Id: I660124fada1a86288a9bfb10308cec0e1503f62e

8 years agoDO NOT MERGE: Don\\\\\'t trust callers to supply app info to bindBackupAgent() am...
Christopher Tate [Thu, 16 Jun 2016 22:50:23 +0000 (22:50 +0000)]
DO NOT MERGE: Don\\\\\'t trust callers to supply app info to bindBackupAgent() am: d85a4ed283 am: f615799ef2 am: 6633a4fee4  -s ours am: 41821a26a5  -s ours
am: b1e31ad140

Change-Id: I3668160c863e8fe34ca6d233d63113069fec8e5a

8 years agoDO NOT MERGE: Don\\\\'t trust callers to supply app info to bindBackupAgent() am...
Christopher Tate [Thu, 16 Jun 2016 22:45:45 +0000 (22:45 +0000)]
DO NOT MERGE: Don\\\\'t trust callers to supply app info to bindBackupAgent() am: d85a4ed283 am: f615799ef2 am: 6633a4fee4  -s ours
am: 41821a26a5  -s ours

Change-Id: I028d0714c52079b71645197ac70a321285928fec

8 years agoDO NOT MERGE: Don\\\'t trust callers to supply app info to bindBackupAgent() am:...
Christopher Tate [Thu, 16 Jun 2016 22:39:05 +0000 (22:39 +0000)]
DO NOT MERGE: Don\\\'t trust callers to supply app info to bindBackupAgent() am: d85a4ed283 am: f615799ef2
am: 6633a4fee4  -s ours

Change-Id: I2c10cc7ff790c84767167c76e028456ba4dcaeb3

8 years agoMerge "Allow apps with CREATE_USERS permission to create restricted users." into...
TreeHugger Robot [Thu, 16 Jun 2016 22:30:19 +0000 (22:30 +0000)]
Merge "Allow apps with CREATE_USERS permission to create restricted users." into nyc-dev

8 years agoDon\\\'t trust callers to supply app info to bindBackupAgent() am: c58054f25f am...
Christopher Tate [Thu, 16 Jun 2016 22:30:17 +0000 (22:30 +0000)]
Don\\\'t trust callers to supply app info to bindBackupAgent() am: c58054f25f am: cd777e95a7
am: ec6c3f7a32

Change-Id: Idc2b6c712078493b4186edad750d8d5beab58adf

8 years agoDO NOT MERGE: Don\\'t trust callers to supply app info to bindBackupAgent() am: d85a4...
Christopher Tate [Thu, 16 Jun 2016 22:27:18 +0000 (22:27 +0000)]
DO NOT MERGE: Don\\'t trust callers to supply app info to bindBackupAgent() am: d85a4ed283
am: f615799ef2

Change-Id: Ibc84666aa491986fe861b82400affde1675e632d

8 years agoDon\\'t trust callers to supply app info to bindBackupAgent() am: c58054f25f
Christopher Tate [Thu, 16 Jun 2016 22:27:04 +0000 (22:27 +0000)]
Don\\'t trust callers to supply app info to bindBackupAgent() am: c58054f25f
am: cd777e95a7

Change-Id: I199f1354df85fcda372002887eafc1e6fb9b19d8

8 years agoDon\'t trust callers to supply app info to bindBackupAgent()
Christopher Tate [Thu, 16 Jun 2016 22:21:37 +0000 (22:21 +0000)]
Don\'t trust callers to supply app info to bindBackupAgent()
am: c58054f25f

Change-Id: I3b0bd91c38b5f13770f09f39c2eea78b63c29d7c

8 years agoDO NOT MERGE: Don\'t trust callers to supply app info to bindBackupAgent()
Christopher Tate [Thu, 16 Jun 2016 22:21:25 +0000 (22:21 +0000)]
DO NOT MERGE: Don\'t trust callers to supply app info to bindBackupAgent()
am: d85a4ed283

Change-Id: Ib1f01d4d10c82acb9f03aab4fe81d43d85d4a899

8 years agoCall AppOpsService from the handler thread
Fyodor Kupolov [Thu, 16 Jun 2016 22:09:29 +0000 (15:09 -0700)]
Call AppOpsService from the handler thread

Otherwise it may cause deadlocks, for instance if
updateUserRestrictionsInternalLR is called with AMS lock held.

Bug: 28888422
Change-Id: I455c7392f206ff0bb6c99ec5c4a531921a115070

8 years agoFix for the missing sync bug
Shreyas Basarge [Thu, 16 Jun 2016 10:54:35 +0000 (11:54 +0100)]
Fix for the missing sync bug

Cancel a job before re-scheduling it to avoid
the situation where a job could still be in
JobScheduler's pending queue.

Retry a sync even if it has specified the
do_not_retry extra if the sync failed due
to SyncAlreadyInProgress.

Bug: 27532761
Change-Id: Ia5d2b31fa4e44560a3f170a2bdbf53151bff7a20

8 years agoMerge "Don't re-launch activities while the device is sleeping" into nyc-dev
TreeHugger Robot [Thu, 16 Jun 2016 21:32:26 +0000 (21:32 +0000)]
Merge "Don't re-launch activities while the device is sleeping" into nyc-dev

8 years agoMerge "Bring task to front when we can't move to adjacent stack" into nyc-dev
Andrii Kulian [Thu, 16 Jun 2016 21:30:21 +0000 (21:30 +0000)]
Merge "Bring task to front when we can't move to adjacent stack" into nyc-dev

8 years agoMerge "Limit global drags to apps targeting SDK 24 and above" into nyc-dev
Yorke Lee [Thu, 16 Jun 2016 21:16:11 +0000 (21:16 +0000)]
Merge "Limit global drags to apps targeting SDK 24 and above" into nyc-dev

8 years agodocs: DP4 release notes: add Android Auto known issue
Andrew Solovay [Thu, 16 Jun 2016 20:37:03 +0000 (13:37 -0700)]
docs: DP4 release notes: add Android Auto known issue

See first comment for doc stage location.

Change-Id: I424195565860af0439a9bf7fefb3286e82cc98da

8 years agoMerge "Docs: Suppress errors in SystemApi Build Bug: 28427390" into nyc-dev
Gina Dimino [Thu, 16 Jun 2016 21:02:13 +0000 (21:02 +0000)]
Merge "Docs: Suppress errors in SystemApi Build Bug: 28427390" into nyc-dev

8 years agoMerge "docs: Minor update to DP4 release notes" into nyc-dev
TreeHugger Robot [Thu, 16 Jun 2016 20:47:02 +0000 (20:47 +0000)]
Merge "docs: Minor update to DP4 release notes" into nyc-dev

8 years agoDocs: Completed updates to the Data Binding docs
Yigit Boyar [Wed, 25 May 2016 17:45:01 +0000 (10:45 -0700)]
Docs: Completed updates to the Data Binding docs

Bug: 28987432

Change-Id: I29d630618f9fff20e3c266f9b8ff59629fc607be

8 years agoRemove RemoteInput on lockscreen setting
Adrian Roos [Thu, 16 Jun 2016 20:04:47 +0000 (13:04 -0700)]
Remove RemoteInput on lockscreen setting

Bug: 29370898
Change-Id: I8686c2266f13e7e131c2330673ec98c26037edaa

8 years agoMerge "Report error correctly for the implementation of StreamInterface::GetData...
Yujie Qin [Thu, 16 Jun 2016 19:48:18 +0000 (19:48 +0000)]
Merge "Report error correctly for the implementation of StreamInterface::GetData()" into nyc-dev

8 years agoDon't re-launch activities while the device is sleeping
Wale Ogunwale [Thu, 16 Jun 2016 17:03:40 +0000 (10:03 -0700)]
Don't re-launch activities while the device is sleeping

- Don't ensure configuration for top running activity that is in the
stopped state if the configuration change while the device is sleeping
as we don't want to relaunch activities in this state.
- Don't make activities visible while the device is sleeping and the
activity isn't in voice interaction mode. Making it visible can also
lead to the activity been relaunched due to configuration changing.

Note the the right configuration will be applied to the activity the next
time we try to make it visible. The re-launch will happen then.

Bug: 28518380
Change-Id: Ic22193db645dec358065cb05e7f1afc6fc8ac49f

8 years agoMerge "Fix unresponsive brightness slider after font size change" into nyc-dev
Adrian Roos [Thu, 16 Jun 2016 19:25:47 +0000 (19:25 +0000)]
Merge "Fix unresponsive brightness slider after font size change" into nyc-dev

8 years agoMerge "Include cause when reporting errors." into nyc-dev
TreeHugger Robot [Thu, 16 Jun 2016 19:14:04 +0000 (19:14 +0000)]
Merge "Include cause when reporting errors." into nyc-dev

8 years agoMerge "Check extra type before blindingly casting to Parcelable." into nyc-dev
TreeHugger Robot [Thu, 16 Jun 2016 18:47:50 +0000 (18:47 +0000)]
Merge "Check extra type before blindingly casting to Parcelable." into nyc-dev

8 years agoMerge "Fix issue #29371078: Foreground jobs should not count..." into nyc-dev
Dianne Hackborn [Thu, 16 Jun 2016 18:39:02 +0000 (18:39 +0000)]
Merge "Fix issue #29371078: Foreground jobs should not count..." into nyc-dev

8 years agoBring task to front when we can't move to adjacent stack
Andrii Kulian [Wed, 15 Jun 2016 22:27:01 +0000 (15:27 -0700)]
Bring task to front when we can't move to adjacent stack

If task was requested to move to adjacent stack with mLaunchStackId set
and FLAG_ACTIVITY_LAUNCH_ADJACENT not set - we don't move it from its
current stack. If the task was covered with other task(s) it wouldn't
be brought to front.
This CL checks if mLaunchStackId is provided and is a valid stack for this
task, then we move it to front of current stack as a safer option.

Bug: 29103549
Change-Id: I3065960f082cfbf9a5b43c6e83b5cebe3dd69df6

8 years agodocs: Minor update to DP4 release notes
Andrew Solovay [Thu, 16 Jun 2016 00:32:42 +0000 (17:32 -0700)]
docs: Minor update to DP4 release notes

Added a new section from Dirk, with a couple of gotchas for people
updating from API level ≤22 to 24.

See first comment for doc stage location.

Change-Id: I237e9efac75b9c1e0fbeecf362dbc0de7c958c60

8 years agoInclude cause when reporting errors.
Steve McKay [Tue, 14 Jun 2016 22:56:50 +0000 (15:56 -0700)]
Include cause when reporting errors.

Bug: 29191892
Change-Id: I5f904da3a8564ec68ca634c28e3eda7f496a5c1c

8 years agoMerge "Support using uninstalled WebView packages as WebView implementation." into...
Gustav Sennton [Thu, 16 Jun 2016 17:40:08 +0000 (17:40 +0000)]
Merge "Support using uninstalled WebView packages as WebView implementation." into nyc-dev