Robert Carr
ffde264497
Merge "SurfaceView: Don't destroy Surface while Stopped." into oc-dev
...
am: 42c6529c1d
Change-Id: I5f883c2760e8056d2130d232fb7ca43576339a17
2017-05-23 02:36:21 +00:00
TreeHugger Robot
42c6529c1d
Merge "SurfaceView: Don't destroy Surface while Stopped." into oc-dev
2017-05-23 02:32:17 +00:00
Sudheer Shanka
7c1598d5e8
Merge "Read cpu freq data only when needed." into oc-dev
...
am: fdeb6b8ed3
Change-Id: I241535a379b8e3cf547d73c05fe0dc7298ccc958
2017-05-23 00:20:34 +00:00
Sudheer Shanka
fdeb6b8ed3
Merge "Read cpu freq data only when needed." into oc-dev
2017-05-22 23:52:02 +00:00
Jiaquan He
806ee59c00
Merge "Do not relayout on default focus highlight." into oc-dev
...
am: badb83b332
Change-Id: I7174ffcfef9d32b4b7559251060cea8ce8a34d58
2017-05-22 22:36:42 +00:00
Jiaquan He
652e940ebd
Do not relayout on default focus highlight.
...
Test: AdjacentListsWithAdjacentISVsInsideTest.testFocusedRectAndFocusHintWorkWithinListItemHorizontal
Bug: 38195445
Change-Id: I4ba61d1dd6b806bff5305986a086c436c3b05b12
2017-05-22 20:12:46 +00:00
Dianne Hackborn
7fdeb9ff3f
Merge "Fix issue #38393543 : Not allowed to start service Intent" into oc-dev
...
am: ad6dde65ff
Change-Id: Ife26f513fa6d04771148a3965171822874854828
2017-05-22 20:09:29 +00:00
Dianne Hackborn
ad6dde65ff
Merge "Fix issue #38393543 : Not allowed to start service Intent" into oc-dev
2017-05-22 20:03:33 +00:00
Bryce Lee
b8bcdf50e4
Merge "Disallow starting activities without new task from non-activity context." into oc-dev
...
am: 3ebe54b3e6
Change-Id: I4a89ce60dad32f41f4e77b81a6af56c89845987a
2017-05-22 14:43:32 +00:00
Bryce Lee
3ebe54b3e6
Merge "Disallow starting activities without new task from non-activity context." into oc-dev
2017-05-22 14:31:07 +00:00
Phil Weaver
204f535e2c
Merge "Revert "NumberPicker a11y (and a11y-inspired) fixes"" into oc-dev
...
am: ed83139842
Change-Id: I7721cfee4ef04aa463a687b8223f881e9d153394
2017-05-22 13:13:34 +00:00
Phil Weaver
ed83139842
Merge "Revert "NumberPicker a11y (and a11y-inspired) fixes"" into oc-dev
2017-05-22 13:03:45 +00:00
Sudheer Shanka
671985f483
Read cpu freq data only when needed.
...
Bug: 34133340
Test: cts-tradefed run singleCommand cts-dev -m ctsIncidentHostTestCases -t \
com.android.server.cts.BatteryStatsValidationTest
Change-Id: Ib235e166820b95b5cd0a496b6146ea353abdf844
2017-05-19 17:09:48 -07:00
Hugo Benichi
275c1ac91c
Merge "Address ConnectivityManager API comments." am: b5d6e45e8d am: b57db6ef97
...
am: 08ab9ea526
Change-Id: I8e5e44043bb7efde3e21650e7edf3f121aff1e6e
2017-05-19 23:36:09 +00:00
Hugo Benichi
08ab9ea526
Merge "Address ConnectivityManager API comments." am: b5d6e45e8d
...
am: b57db6ef97
Change-Id: If38be1435c55c66890bb5c702a7b9b23240c0b64
2017-05-19 23:24:56 +00:00
Dianne Hackborn
3e6e3855ea
Fix issue #38393543 : Not allowed to start service Intent
...
Turns out there was another path in to the activity manager
to trigger a PendingIntent, which needs to be modified to
now also pass in the whitelist token of that pending intent.
Test: manual
Change-Id: I755ff87db1b782fa6974d404dcb490786053c5e0
2017-05-19 16:12:08 -07:00
Hugo Benichi
b5d6e45e8d
Merge "Address ConnectivityManager API comments."
2017-05-19 23:05:57 +00:00
Robert Carr
73678099f8
SurfaceView: Don't destroy Surface while Stopped.
...
We instead just want to leave it floating, and let
it's lifetime be controlled by the parent surface. This way it can
take part in animations. Normally the WindowManager handles this by
calling detachChildren but it seems sometimes stop arrives before
the window manager is even clued in. Rather than bringing ActivityManager
in to the detach children dance...this seemed more appropriate and very similar
to the behavior before SV->SurfaceControl port.
Bug: 37922210
Test: Manual from bug + Launch chrome a bunch
Change-Id: Iee4fb0078a6e8dfd4c7acdb0107f8edd3a995634
2017-05-19 15:21:58 -07:00
Evan Rosky
f51ae15eeb
Merge "Missed a break statement. very sorry" into oc-dev
...
am: a2ee78aeb9
Change-Id: I0da645a6bdc05883c137930700a264d7a9aa4400
2017-05-19 20:31:50 +00:00
Evan Rosky
a2ee78aeb9
Merge "Missed a break statement. very sorry" into oc-dev
2017-05-19 20:25:54 +00:00
Keun-young Park
0bdd7ae68e
Merge "Wait for keyguard draw before stopping boot animation" into oc-dev
...
am: ff4cc4ebb5
Change-Id: I1c1437f83387aa4974ee991502018f5b59baf248
2017-05-19 20:14:50 +00:00
Keun-young Park
ff4cc4ebb5
Merge "Wait for keyguard draw before stopping boot animation" into oc-dev
2017-05-19 20:07:14 +00:00
Michael Wachenschwanz
d6066c83ca
Merge "DO NOT MERGE Revert "WTF Logging for catching memory issue in Parcel"" into oc-dev
...
am: 61e2b15866
Change-Id: I6dc739ac35e8965b3a6ed84fe03d20c0441193c5
2017-05-19 18:40:47 +00:00
Adam Bookatz
95cf947fba
Merge "Cumulative wakelock time per uid" into oc-dev
...
am: 1effe000b8
Change-Id: I475ced78c13cadd48ba3be70d680a4a3fa83e500
2017-05-19 18:32:20 +00:00
Michael Wachenschwanz
61e2b15866
Merge "DO NOT MERGE Revert "WTF Logging for catching memory issue in Parcel"" into oc-dev
2017-05-19 18:27:15 +00:00
Adam Bookatz
1effe000b8
Merge "Cumulative wakelock time per uid" into oc-dev
2017-05-19 18:24:44 +00:00
Keun-young Park
4136d2d54b
Wait for keyguard draw before stopping boot animation
...
- Add check for keyguard drawn before stopping boot animation.
Otherwise blank screen can happen.
- Bind to keyguard service when sysui is launched to reduce waiting
time later.
- Increase keyguard timeout to 5 secs if it is not boot completed.
Otherwise (= normal screen on), keep the current 1 sec.
This timeout can still lead into blank screen so use bigger timeout
during boot-up to prevent such case.
bug: 37867510
Test: many reboots
Change-Id: Ibfdc42d295bb1d3f5b4ea316fe5aca9ab875e4be
2017-05-19 09:20:28 -07:00
Jorim Jaggi
c907b736a9
Merge "Fix underdraw during resizing" into oc-dev
...
am: 906fe92759
Change-Id: I25fe2b06324f238d2d5d6092837919d1f5659bf3
2017-05-19 15:53:18 +00:00
Jorim Jaggi
906fe92759
Merge "Fix underdraw during resizing" into oc-dev
2017-05-19 15:42:51 +00:00
Jorim Jaggi
853d17d838
Fix underdraw during resizing
...
Since we hide the navigation bar background during resizing, we
need to fill it with the fallback background.
This was always an issue but somehow in OC we are displaying
garbage instead of black.
Test: Open Contacts/Dialer, resize, make sure no underdraw is
happening. Also test a couple of other apps.
Fixes: 36206155
Change-Id: I6b02060ef4acf36c2529d49063a61034f9261696
2017-05-19 14:53:55 +02:00
Jorim Jaggi
8947e7a215
Merge "Take snapshot when screen is turning off" into oc-dev
...
am: 64900ad13c
Change-Id: If64b205fc27f33a4359f00fe7f551b9797b1380f
2017-05-19 12:41:03 +00:00
Jorim Jaggi
64900ad13c
Merge "Take snapshot when screen is turning off" into oc-dev
2017-05-19 12:29:54 +00:00
Hugo Benichi
6246ddc338
Merge "Add a method to start the captive portal login app." am: 30f2544f0c
...
am: f238a96172
Change-Id: Ie42fa5148bc7fcaf5b64b767c06aba9f618c0aa7
2017-05-19 02:48:01 +00:00
Lorenzo Colitti
2965d33afc
Add a method to start the captive portal login app.
...
Bug: 36203355
Bug: 36656914
Test: ConnectivityServiceTest (including new test) passes
Change-Id: Ide82858af67024623560ab79beea27c201b63447
Merged-In: I82a9a9a8da47870ba3f1bbef5941b37e970c844f
(cherry picked from commit 4734cdbbc3 )
2017-05-19 00:58:41 +00:00
Seigo Nonaka
99c587a9b1
Merge "Introduce early exit path for non resource path." into oc-dev
...
am: 01d5b3d2af
Change-Id: I07120a86307dd397862e0d341763d0048b066845
2017-05-18 23:39:41 +00:00
TreeHugger Robot
01d5b3d2af
Merge "Introduce early exit path for non resource path." into oc-dev
2017-05-18 23:30:24 +00:00
Jorim Jaggi
51304d7380
Take snapshot when screen is turning off
...
Since we can't take a snapshot when screen is turned off, we need
to snapshot before we are turning the screen off. For this, we
- Add a callback from DisplayPowerController to give policy a
chance to do something before display will be turned off.
- Implement this callback by taking snapshots of all visible
tasks.
Test: Inspect logs/traces about screen off blocking to make sure
callback is working correctly.
Test: Insert artificial 500ms delay in onScreenTurningOff and make
sure we are unblocking screen off when turning on screen in the
meantime.
Test: Open Maps, go to recents, open maps again, scroll to another
location, toggle power button, make sure the old location isn't
shown during unlock.
Change-Id: I489f31358f838d418f894f996495946084f136a4
Fixes: 37107783
2017-05-19 00:55:31 +02:00
Michael Wachenschwanz
138bebf4c1
DO NOT MERGE Revert "WTF Logging for catching memory issue in Parcel"
...
This reverts commit 101e38cbec .
Bug: 37298089
Change-Id: Ia468d50fd1e4ca2ffa6145967bf3c847ed1929b8
2017-05-18 22:09:18 +00:00
Roozbeh Pournader
c9affff74c
Merge "In onDragEvent(), don't assume text is Spannable" into oc-dev
...
am: 99e620ef32
Change-Id: I5431864f75241c9f8b33064981ea332e7bef823b
2017-05-18 19:32:02 +00:00
TreeHugger Robot
99e620ef32
Merge "In onDragEvent(), don't assume text is Spannable" into oc-dev
2017-05-18 19:21:51 +00:00
Evan Rosky
0892401a86
Missed a break statement. very sorry
...
Change-Id: Ifbc6c60a3fa2cf296a34836c890a10d50c0f14c1
2017-05-18 11:18:18 -07:00
Sudheer Shanka
1768a0054d
Merge "More unit tests for classes needed in reading uid times per cpu freq." into oc-dev
...
am: aff7c3c71e
Change-Id: Ie7691a19ef61668afd9200c9a3c77fa9fc5368f1
2017-05-18 17:53:28 +00:00
Dianne Hackborn
4d208f2ec6
Merge "Work on issue #36891897 : Need to ensure foreground services..." into oc-dev
...
am: e4f484915f
Change-Id: I644cf3173134c0aeb2cddcb8add85803aa76b362
2017-05-18 17:50:56 +00:00
Sudheer Shanka
aff7c3c71e
Merge "More unit tests for classes needed in reading uid times per cpu freq." into oc-dev
2017-05-18 17:42:17 +00:00
Dianne Hackborn
e4f484915f
Merge "Work on issue #36891897 : Need to ensure foreground services..." into oc-dev
2017-05-18 17:35:15 +00:00
Phil Weaver
a998b5f869
Revert "NumberPicker a11y (and a11y-inspired) fixes"
...
This reverts commit 1d359a6d31 .
Bug: 38301562
Change-Id: I7a04f3068a8ecb0de63efcb82205b41916138a89
2017-05-18 16:19:23 +00:00
Jeff Sharkey
c244963675
Merge "Unbreak even more APK 26 apps running on "O" preview/beta builds." into oc-dev
...
am: 997042ac33
Change-Id: I6da01817370fa1244499644497396a57e55df492
2017-05-18 16:02:49 +00:00
Jeff Sharkey
f383c24749
Unbreak even more APK 26 apps running on "O" preview/beta builds.
...
Bug: 38391358
Test: builds
Change-Id: Ic48f9cb53da3ed8241e5d40d3096304ee4dfebd2
2017-05-17 17:53:38 -06:00
Roozbeh Pournader
74e7b26a10
In onDragEvent(), don't assume text is Spannable
...
Previously, onDragEvent() tried to set the anchor even if
the text was not Spannable. Now we check to make sure it is
Spannable before trying to set the selection.
Test: cts-tradefed run cts-dev --module CtsTextTestCases
Change-Id: I835bf3d6024bf3c85e1d248458829eef496ad93d
Fixes: 37261326
2017-05-17 15:04:45 -07:00
Michael Wachenschwanz
77a6283a5e
Merge "Purge Nonexistent User Jobs on Boot" into oc-dev
...
am: a61f09f657
Change-Id: Ic96e165de9014b1d56ac322fcf2918458b1dd251
2017-05-17 19:10:44 +00:00