Andreas Gampe
8f4731db63
Merge \\"Revert \\"Frameworks/base: Refactor UserHandle and Environment a bit\\"\\" into nyc-mr1-dev am: 56177bf81b
...
am: 5c1dc014ca
Change-Id: Ia51a5349ea826ca56ec0c5f8baf1c1afac7c6b81
2016-07-08 18:27:10 +00:00
Andreas Gampe
5c1dc014ca
Merge \"Revert \"Frameworks/base: Refactor UserHandle and Environment a bit\"\" into nyc-mr1-dev
...
am: 56177bf81b
Change-Id: I7ee938b31784d093680783c1988a68cc803cce3f
2016-07-08 18:19:33 +00:00
Andreas Gampe
56177bf81b
Merge "Revert "Frameworks/base: Refactor UserHandle and Environment a bit"" into nyc-mr1-dev
2016-07-08 18:09:54 +00:00
Andreas Gampe
d281b4204a
Revert "Frameworks/base: Refactor UserHandle and Environment a bit"
...
Breaks monkey in root mode.
This reverts commit 6e16714c68 .
Bug: 29338430
Change-Id: I238f89dad77d7dcae6d02eccbda52eb9c6c6466c
2016-07-08 03:50:27 +00:00
Tim Murray
aa1735370b
Merge changes from topic \\'fifo\\' into nyc-mr1-dev am: a96d445aef
...
am: 03b34e402c
Change-Id: If3104889f659aef9a6d7035e18ab839544c9ecb3
2016-07-07 20:59:09 +00:00
Tim Murray
03b34e402c
Merge changes from topic \'fifo\' into nyc-mr1-dev
...
am: a96d445aef
Change-Id: If4a5c3f65cb611aecf82ad49ad6d992f098cbfb1
2016-07-07 20:48:27 +00:00
Tim Murray
a96d445aef
Merge changes from topic 'fifo' into nyc-mr1-dev
...
* changes:
Add new mode for SCHED_FIFO on UI and RenderThreads.
Add isThreadInProcess.
2016-07-07 20:29:24 +00:00
Tim Murray
33eb07f575
Add new mode for SCHED_FIFO on UI and RenderThreads.
...
Add a new mode, controlled by sys.use_fifo_ui property, that enables the
top app's UI and RenderThread to be SCHED_FIFO. This eliminates almost
all jank due to scheduling competition with non-UI critical
threads. This mode may not be suitable for all devices.
bug 24503801
Change-Id: I7b8a31830ad80f7efa00236928d5476998ed4e00
2016-07-07 12:55:31 -07:00
Jeff Sharkey
3d4ed8b46c
Merge \\"Don\\'t cache external storage directories.\\" into nyc-mr1-dev am: d683945251
...
am: fd6071215e
Change-Id: Ie682229c7f30f2229b36d55773b8c5a4c6a190f6
2016-07-06 22:59:54 +00:00
Jeff Sharkey
fd6071215e
Merge \"Don\'t cache external storage directories.\" into nyc-mr1-dev
...
am: d683945251
Change-Id: I67dbd3da95b5134bf013ca3deb51fd00b47d94cd
2016-07-06 20:54:48 +00:00
TreeHugger Robot
d683945251
Merge "Don't cache external storage directories." into nyc-mr1-dev
2016-07-06 20:47:51 +00:00
Andreas Gampe
df5c966cac
Merge \\"Frameworks/base: Refactor UserHandle and Environment a bit\\" into nyc-mr1-dev am: e6fcebbf50
...
am: 9b4725d071
Change-Id: I2c6c65c9e1445e02c8e0e264090cbb4d62295d39
2016-07-06 20:02:44 +00:00
Andreas Gampe
9b4725d071
Merge \"Frameworks/base: Refactor UserHandle and Environment a bit\" into nyc-mr1-dev
...
am: e6fcebbf50
Change-Id: Ib6be1e72ad9b0350256ec208c6aee051b746f9d0
2016-07-06 19:57:08 +00:00
Andreas Gampe
6e16714c68
Frameworks/base: Refactor UserHandle and Environment a bit
...
Refactor slightly to forbid using myUserId in the zygote (uid == 0).
Also factor Environment to put user data (vs shared data) into its
own class, which should keep the page the shared data is on actually
shared between processes.
Bug: 29338430
Change-Id: I05d1306b57658a83299e38076171f56cb364ea80
2016-07-06 18:07:44 +00:00
TreeHugger Robot
64ef32619a
Merge "Don't leave FragmentManager in bad state after exception."
2016-07-01 22:22:53 +00:00
George Mount
c8c2bdf43d
Don't leave FragmentManager in bad state after exception.
...
When an improper operation was executed and an
IllegalStateException was thrown, the FragmentManager
would be left in a bad state and even exiting the Activity
would throw an exception.
Change-Id: I4c0ff1182c41c708b12c2baa1e02a60b16422da3
2016-07-01 13:50:31 -07:00
Robert Carr
8942204d93
Merge changes I38cff63b,Id3739bbc,If052cd8c into nyc-mr1-dev am: 30efa24b11
...
am: 0dbe6db014
Change-Id: I3f0fd113bf9dc063f3bc60301f9a7ddf7d16581d
2016-07-01 19:41:33 +00:00
Robert Carr
0dbe6db014
Merge changes I38cff63b,Id3739bbc,If052cd8c into nyc-mr1-dev
...
am: 30efa24b11
Change-Id: I9ed6ae1f45221ff702162a1608bb8db7059058f5
2016-07-01 19:38:49 +00:00
TreeHugger Robot
30efa24b11
Merge changes I38cff63b,Id3739bbc,If052cd8c into nyc-mr1-dev
...
* changes:
Fix synchronization error for Seamless rotation.
Disable seamless rotation while animating.
Force CROSSFADE rotation when launching from double tap gesture.
2016-07-01 19:27:36 +00:00
Robert Carr
fd10cd1989
Force CROSSFADE rotation when launching from double tap gesture.
...
When activity transition triggers a rotation change, the starting
window will normally be the top window at the time we try
to select the window animation. However, these layout params won't
have the apps rotation animation set (as the client code will set that
on the real window, not the starting window). Eventually we would
like to add API to specify rotation animation via manifest to solve
this problem cleanly. In the mean time, we can force a specific rotation
animation from the double tap gesture, and clean up some camera
ugliness. We accomplish this by attaching an animation hint to
ActivityOptions.
Bug: 28838855
Change-Id: If052cd8cbae76651da43f3b4c590cd9dcc1afc0f
2016-07-01 11:05:40 -07:00
Adrian Roos
9e9608fec7
Merge \\\"Fix missing header text in notification groups\\\" into nyc-dev am: a275ec269f am: 1b7dbd9253
...
am: fa42bb3fa5
Change-Id: Ie9da99d8a593dad326cb3b90e989113c66f5ceba
2016-06-30 23:23:23 +00:00
Adrian Roos
fa42bb3fa5
Merge \\"Fix missing header text in notification groups\\" into nyc-dev am: a275ec269f
...
am: 1b7dbd9253
Change-Id: I007196bd1e93e3a89768b58f688e9a600694174f
2016-06-30 23:18:29 +00:00
Adrian Roos
1b7dbd9253
Merge \"Fix missing header text in notification groups\" into nyc-dev
...
am: a275ec269f
Change-Id: Ib2dc310b57756218d0851d7aff6a0ea183714f5d
2016-06-30 23:07:40 +00:00
Adrian Roos
78f525b674
Merge \"Fix missing header text in notification groups\" into nyc-dev
...
am: a275ec269f
Change-Id: Ida3c3f33c63aa904d34c864899ddc8aac0368394
2016-06-30 23:07:39 +00:00
Adrian Roos
9dfb78fab6
Fix missing header text in notification groups
...
Fixes a case where notification header text could go missing
if a notification view was recycled and previously had a header text.
Reapplying only hid the text without clearing it, so the extraction
logic thought it was still there and hid the text for the children
even though it was not showing for the parent.
Change-Id: I3f96e1e7bebb2f815020d278ad13b2b5d948e63c
Fixes: 29915184
2016-06-30 15:46:15 -07:00
Makoto Onuki
b8e1286605
Merge \\"Start shortcuts as if publisher apps did using PendingIntent\\" into nyc-mr1-dev am: 60efbf2586
...
am: 20a9ca9311
Change-Id: I3bb569bb53b95176dc5e3b19f4122cf75511ac1e
2016-06-30 22:02:51 +00:00
Makoto Onuki
20a9ca9311
Merge \"Start shortcuts as if publisher apps did using PendingIntent\" into nyc-mr1-dev
...
am: 60efbf2586
Change-Id: If43a09cd1580edb318404f56459b8557b69b7d5a
2016-06-30 21:55:18 +00:00
Makoto Onuki
60efbf2586
Merge "Start shortcuts as if publisher apps did using PendingIntent" into nyc-mr1-dev
2016-06-30 21:45:05 +00:00
Chad Brubaker
6d4f195f1a
Merge changes from topics 'handle-storage-update', 'action-storage-changed'
...
* changes:
Update trusted certificates when the trust store is changed
Deprecate ACTION_STORAGE_CHANGED
2016-06-30 19:22:19 +00:00
Tim Murray
ef79f35c69
Merge \\"Add a new API to improve VR thread scheduling.\\" into nyc-mr1-dev am: 5e261441d3
...
am: 75c6078c8b
Change-Id: Ic101c2d17e98fcb1cc2d6e3cccebfb6e378f9914
2016-06-30 18:28:14 +00:00
Srinath Sridharan
75c6078c8b
Merge \"Add a new API to improve VR thread scheduling.\" into nyc-mr1-dev
...
am: 5e261441d3
Change-Id: Ie7c734ca22abad05a4f0800a1dba9553eb7cbfef
2016-06-30 18:19:47 +00:00
Tim Murray
5e261441d3
Merge "Add a new API to improve VR thread scheduling." into nyc-mr1-dev
2016-06-30 18:05:57 +00:00
Srinath Sridharan
e535a5827b
Add a new API to improve VR thread scheduling.
...
Adds a new API that enables device-specific scheduler optimizations for
latency-sensitive VR threads.
BUG: 29163534
Change-Id: I58d7be0eb266eca452c804cd07004784fb7daf2b
2016-06-30 10:03:46 -07:00
Chad Brubaker
c72875b01e
Update trusted certificates when the trust store is changed
...
This CL flushes the trusted cert cache of all active Network Security
Configs and their TrustManagers. Previously CA addition mostly worked
however removed CAs would remain cached in the X509TrustManager causing
the removed CA to still be trusted.
Change-Id: I0f5fd39932f8f8ed3ec5dfd088a82e982b366c43
2016-06-30 09:23:23 -07:00
Makoto Onuki
ea11db15bd
Start shortcuts as if publisher apps did using PendingIntent
...
Bug 29639471
Change-Id: I2aad115669b431cbea785ba92040b1958117ab47
2016-06-29 18:43:45 -07:00
Jeff Sharkey
0f5130bd95
Move getRecentTasks() to ParceledListSlice. am: 479212cf50 am: ce3c8ac0f4
...
am: 38b322d171
Change-Id: Id28e985eff80210d5f25d8632db1e98fd111b896
2016-06-30 00:03:54 +00:00
Jeff Sharkey
38b322d171
Move getRecentTasks() to ParceledListSlice. am: 479212cf50
...
am: ce3c8ac0f4
Change-Id: Ie0c3873c46832d1a10b016bafb26e860eba4ec07
2016-06-29 23:59:09 +00:00
Jeff Sharkey
3362400aa5
Move getRecentTasks() to ParceledListSlice.
...
am: 479212cf50
Change-Id: Ic76f624396117d922aac60eac9c2caae4f1d7e27
2016-06-29 23:53:58 +00:00
Jeff Sharkey
ce3c8ac0f4
Move getRecentTasks() to ParceledListSlice.
...
am: 479212cf50
Change-Id: Ifb3a5deacda0ff8b73469234d36f9cf711e616c2
2016-06-29 23:53:57 +00:00
Jeff Sharkey
479212cf50
Move getRecentTasks() to ParceledListSlice.
...
In extreme cases the list of recent tasks can grow beyond the size
of a single Binder transaction. This change moves over to
ParceledListSlice which handles chunking any large results.
Bug: 29635557
Change-Id: Iaf1227234f5f8c9451f73a6a5c1dc89f2067f05f
2016-06-29 22:17:41 +00:00
Dianne Hackborn
4aba72c6c8
Merge \\\"Fix issue #29871385 : Need JobScheduler.scheduleAsPackage to be system API\\\" into nyc-dev am: 205bc262ce am: 381f4eb9be
...
am: d229fdb1c7
Change-Id: Idc70c2c5893ac586cc192ea75fe04fdab421e851
2016-06-29 21:34:02 +00:00
Dianne Hackborn
d229fdb1c7
Merge \\"Fix issue #29871385 : Need JobScheduler.scheduleAsPackage to be system API\\" into nyc-dev am: 205bc262ce
...
am: 381f4eb9be
Change-Id: I5cc4b41990cdf389e6e55f6891a87a9030a6d218
2016-06-29 20:51:33 +00:00
Dianne Hackborn
50beee8af9
Merge \"Fix issue #29871385 : Need JobScheduler.scheduleAsPackage to be system API\" into nyc-dev
...
am: 205bc262ce
Change-Id: I3d7186834028be519b512fbcb2240d2ff692f564
2016-06-29 20:50:52 +00:00
Dianne Hackborn
381f4eb9be
Merge \"Fix issue #29871385 : Need JobScheduler.scheduleAsPackage to be system API\" into nyc-dev
...
am: 205bc262ce
Change-Id: I910f4db4503ad20ecce46032691001d1f971bdbf
2016-06-29 20:45:36 +00:00
Alan Viverette
9d2328e57c
Merge \"Remove framework dependencies on Support* demos\" into nyc-mr1-dev
...
am: c295a4b23d
Change-Id: Icd4eac0fafdae01d95910dc084787350168a8688
2016-06-29 20:34:47 +00:00
TreeHugger Robot
c295a4b23d
Merge "Remove framework dependencies on Support* demos" into nyc-mr1-dev
2016-06-29 20:31:03 +00:00
Dianne Hackborn
1150b735c8
Fix issue #29871385 : Need JobScheduler.scheduleAsPackage to be system API
...
Change-Id: I0034b1681158b9a010d01fb0fcbe7990d9038c1f
2016-06-29 11:49:01 -07:00
Felipe Leme
34cc5c0e48
Merge \\"Merge \\\"Remove redundant setPendingIntentWhitelistDuration() calls.\\\" into nyc-dev am: c1374208e3\\" into nyc-mr1-dev am: b1400b142e
...
am: 62e46e8899
Change-Id: Id8aed75038fed88c8c11a1d953726712b7005c62
2016-06-28 20:59:55 +00:00
Felipe Leme
62e46e8899
Merge \"Merge \\"Remove redundant setPendingIntentWhitelistDuration() calls.\\" into nyc-dev am: c1374208e3\" into nyc-mr1-dev
...
am: b1400b142e
Change-Id: I72cddf720ef8f3efd58ebbe79a2aa3e66a85c95a
2016-06-28 20:53:43 +00:00
Felipe Leme
2f285643bf
Merge \"Remove redundant setPendingIntentWhitelistDuration() calls.\" into nyc-dev
...
am: c1374208e3
Change-Id: Iae3e7fb2ff674046422cc77f10761c8543cd83c5
2016-06-28 20:48:51 +00:00