245094 Commits

Author SHA1 Message Date
Hemal Patel
eebe22fef6 Merge "Docs: Completed updates to the Data Binding docs" into mnc-io-docs 2016-06-17 18:25:48 +00:00
Chong Zhang
2756d0707f Merge "Do a forceLayout if pending insets is changed after relayout window" into nyc-dev 2016-06-17 18:22:30 +00:00
Joe Fernandez
d5ca5aa4a0 docs: NDK r12 release notes and downloads
b/29188616

Change-Id: Ida2b9b0e308799f9001127006e3be84318857aaa
2016-06-17 11:07:07 -07:00
Jason Monk
968d2695ff 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
2016-06-17 13:48:44 -04:00
Mady Mellor
4f9404f6f2 Merge "Fix shade background not aligning with bottom of a group" into nyc-dev 2016-06-17 17:22:36 +00:00
Jason Monk
3aee783837 Merge "Bring out your toggles" into nyc-dev 2016-06-17 17:22:02 +00:00
Jason Monk
0c0df7943c 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
2016-06-17 13:15:34 -04:00
Alan Viverette
6d823891bb Only block invalidation in DrawableContainer initialization
Blocking (un)scheduling breaks AnimationDrawable's internal consistency.

Bug: 29309316
Change-Id: I59c79a4a9a92b599cd94bd941ae78ac25b874add
2016-06-17 13:08:42 -04:00
Jason Monk
a3453b8bd9 QS API: Fix mService and mTile being null once and for all
Change-Id: Idd82e4c2f6cfc2b30432e15e23963c1d7a959e43
Fixes: 29121793
2016-06-17 13:04:05 -04:00
Aurimas Liutikas
377617b983 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)
2016-06-17 16:27:10 +00:00
Fyodor Kupolov
1f0151220e Merge "Do not schedule restarts if the system is shutting down" into nyc-dev 2016-06-17 16:01:10 +00:00
Fyodor Kupolov
1347cdb2e1 Merge "Call AppOpsService from the handler thread" into nyc-dev 2016-06-17 15:59:07 +00:00
Jason Monk
c59249faf5 Bring out your toggles
Switch Wifi and BT back to toggling from QQS.  Make cell open a
detail panel.

Change-Id: Ibdd8fa52a31c4bf81ee0e6974e263b46b6f71a31
Fixes: 29406644
2016-06-17 10:19:43 -04:00
Alan Viverette
c577a50d09 Merge "Notify user when application does not support current display zoom" into nyc-dev 2016-06-17 13:59:14 +00:00
Tony Mak
ab8d4cf645 Merge "Allow stopping user to access AppWidgetService API" into nyc-dev 2016-06-17 13:25:06 +00:00
Fyodor Kupolov
9b80b94167 Do not schedule restarts if the system is shutting down
Bug: 29357754
Change-Id: Id5cf43fb6c4c6ea04d60bd09e910a9cec194c753
2016-06-16 18:54:09 -07:00
Chong Zhang
71f2c31469 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
2016-06-17 01:11:49 +00:00
Christopher Tate
02435d2419 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
2016-06-17 00:41:07 +00:00
Christopher Tate
790c87a05b 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
2016-06-17 00:34:47 +00:00
Christopher Tate
1c3be1a5b1 resolve merge conflicts of cffb19c to mnc-dev am: 3f9ea2d386 am: d6c1126fab am: e2c9b1af3e
am: d2a4e1b39c

Change-Id: I8e59a88278ba50ab7e3768031611065131ed6834
2016-06-17 00:32:26 +00:00
Christopher Tate
1a450675f3 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
2016-06-17 00:31:08 +00:00
Christopher Tate
d2a4e1b39c resolve merge conflicts of cffb19c to mnc-dev am: 3f9ea2d386 am: d6c1126fab
am: e2c9b1af3e

Change-Id: Iab52ff84be41c1d18274d1a82492b624a7456726
2016-06-17 00:24:29 +00:00
Christopher Tate
34fb87b519 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
2016-06-17 00:22:07 +00:00
Christopher Tate
e2c9b1af3e resolve merge conflicts of cffb19c to mnc-dev am: 3f9ea2d386
am: d6c1126fab

Change-Id: I0414a137b1aab218fa57f291dbf2f7a1519bd973
2016-06-17 00:18:48 +00:00
Christopher Tate
c61f35ed9a 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
2016-06-17 00:15:14 +00:00
Christopher Tate
d6c1126fab resolve merge conflicts of cffb19c to mnc-dev
am: 3f9ea2d386

Change-Id: Iadf90edb02bacf645896f7d074d011a2aca4b251
2016-06-17 00:15:07 +00:00
Dianne Hackborn
66ec21a817 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
2016-06-16 17:05:47 -07:00
Adrian Roos
a66746d167 Merge "Remove RemoteInput on lockscreen setting" into nyc-dev 2016-06-16 23:33:57 +00:00
Christopher Tate
3f9ea2d386 resolve merge conflicts of cffb19c to mnc-dev
Change-Id: I4dba574de2678d851e3d82961a07de27d61f5940
2016-06-16 16:31:39 -07:00
Andrew Solovay
bc7b3b5e52 Merge "docs: DP4 release notes: add Android Auto known issue" into nyc-dev 2016-06-16 23:29:14 +00:00
Christopher Tate
2149ebeadf 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
2016-06-16 22:53:29 +00:00
Christopher Tate
918fb5d453 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
2016-06-16 22:50:23 +00:00
Christopher Tate
b1e31ad140 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
2016-06-16 22:45:45 +00:00
Christopher Tate
41821a26a5 DO NOT MERGE: Don\\\'t trust callers to supply app info to bindBackupAgent() am: d85a4ed283 am: f615799ef2
am: 6633a4fee4  -s ours

Change-Id: I2c10cc7ff790c84767167c76e028456ba4dcaeb3
2016-06-16 22:39:05 +00:00
TreeHugger Robot
48ee87d4a7 Merge "Allow apps with CREATE_USERS permission to create restricted users." into nyc-dev 2016-06-16 22:30:20 +00:00
Christopher Tate
cffb19c812 Don\\\'t trust callers to supply app info to bindBackupAgent() am: c58054f25f am: cd777e95a7
am: ec6c3f7a32

Change-Id: Idc2b6c712078493b4186edad750d8d5beab58adf
2016-06-16 22:30:17 +00:00
Christopher Tate
6633a4fee4 DO NOT MERGE: Don\\'t trust callers to supply app info to bindBackupAgent() am: d85a4ed283
am: f615799ef2

Change-Id: Ibc84666aa491986fe861b82400affde1675e632d
2016-06-16 22:27:18 +00:00
Christopher Tate
ec6c3f7a32 Don\\'t trust callers to supply app info to bindBackupAgent() am: c58054f25f
am: cd777e95a7

Change-Id: I199f1354df85fcda372002887eafc1e6fb9b19d8
2016-06-16 22:27:04 +00:00
Christopher Tate
cd777e95a7 Don\'t trust callers to supply app info to bindBackupAgent()
am: c58054f25f

Change-Id: I3b0bd91c38b5f13770f09f39c2eea78b63c29d7c
2016-06-16 22:21:37 +00:00
Christopher Tate
f615799ef2 DO NOT MERGE: Don\'t trust callers to supply app info to bindBackupAgent()
am: d85a4ed283

Change-Id: Ib1f01d4d10c82acb9f03aab4fe81d43d85d4a899
2016-06-16 22:21:25 +00:00
Fyodor Kupolov
ec30ca35aa 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
2016-06-16 15:09:29 -07:00
Shreyas Basarge
bd4c3ea7ae 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
2016-06-16 23:01:59 +01:00
TreeHugger Robot
f6e3c9a553 Merge "Don't re-launch activities while the device is sleeping" into nyc-dev 2016-06-16 21:32:27 +00:00
Andrii Kulian
320c15e1b2 Merge "Bring task to front when we can't move to adjacent stack" into nyc-dev 2016-06-16 21:30:22 +00:00
Yorke Lee
f33af2285b Merge "Limit global drags to apps targeting SDK 24 and above" into nyc-dev 2016-06-16 21:16:13 +00:00
Andrew Solovay
8316b81cd0 docs: DP4 release notes: add Android Auto known issue
See first comment for doc stage location.

Change-Id: I424195565860af0439a9bf7fefb3286e82cc98da
2016-06-16 14:12:33 -07:00
Gina Dimino
d06520a488 Merge "Docs: Suppress errors in SystemApi Build Bug: 28427390" into nyc-dev 2016-06-16 21:02:14 +00:00
TreeHugger Robot
5a3a66a253 Merge "docs: Minor update to DP4 release notes" into nyc-dev 2016-06-16 20:47:04 +00:00
Yigit Boyar
05eaab6a1e Docs: Completed updates to the Data Binding docs
Bug: 28987432

Change-Id: I29d630618f9fff20e3c266f9b8ff59629fc607be
2016-06-16 13:42:47 -07:00
Adrian Roos
b27d7a5e2e Remove RemoteInput on lockscreen setting
Bug: 29370898
Change-Id: I8686c2266f13e7e131c2330673ec98c26037edaa
2016-06-16 13:29:36 -07:00