Commit Graph

79006 Commits

Author SHA1 Message Date
Phil Weaver
6ac1613cdd Merge "Throttle app a11y events in one place." 2017-05-19 22:12:26 +00:00
Evan Rosky
0345230f5c Merge "Missed a break statement. very sorry" into oc-dev am: a2ee78aeb9
am: f51ae15eeb

Change-Id: I6a1a4db15dbb3aa986506b1c0f70e03bc8eb5830
2017-05-19 20:37:21 +00: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
8c52b3fd49 Merge "Wait for keyguard draw before stopping boot animation" into oc-dev am: ff4cc4ebb5
am: 0bdd7ae68e

Change-Id: I53c900ebe66b99fc1596d57e0f43dc32248f8340
2017-05-19 20:22: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
291ba2f0a4 Merge "DO NOT MERGE Revert "WTF Logging for catching memory issue in Parcel"" into oc-dev am: 61e2b15866
am: d6066c83ca

Change-Id: I9877b678a244e0149ba6bb6aa4a8185113571374
2017-05-19 18:56:25 +00:00
Adam Bookatz
3da7c56dd8 Merge "Cumulative wakelock time per uid" into oc-dev am: 1effe000b8
am: 95cf947fba

Change-Id: I58660c0671a49388f8b9fdff28060e9312fa497d
2017-05-19 18:41:45 +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
1d4d1ec66a Merge "Fix underdraw during resizing" into oc-dev am: 906fe92759
am: c907b736a9

Change-Id: Iae0cfdbe8dfe79142c55d282069d9740f83f1b3f
2017-05-19 16:04:17 +00: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
bb14173b59 Merge "Take snapshot when screen is turning off" into oc-dev am: 64900ad13c
am: 8947e7a215

Change-Id: Ifec8c2e6368e01e47ae2fdf6fecded4a7aa9172e
2017-05-19 12:50:06 +00: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
Ahmed ElArabawy
d78a02b1de Merge "Revert "power hal: Use power HAL API 1.1"" 2017-05-18 23:57:27 +00:00
Seigo Nonaka
c07169eddc Merge "Introduce early exit path for non resource path." into oc-dev am: 01d5b3d2af
am: 99c587a9b1

Change-Id: I7e09b074f7fff0f273ca2be896439bae0c0c92d0
2017-05-18 23:54:24 +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
Phil Weaver
10e340cb2a Throttle app a11y events in one place.
We were throttling content changed a11y events both in View
and in ViewRootImpl. This change eliminates the throttling
in View, so events can be consolidated to reduce the number
of IPCs.

Change-Id: I1e1ecf1afc399e4103da82e6ed1779abfd3ec955
2017-05-18 15:39:58 -07: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
609aaf52dc Merge "In onDragEvent(), don't assume text is Spannable" into oc-dev am: 99e620ef32
am: c9affff74c

Change-Id: I3501e9a7174b5e1ab8a9486710de515a605f5eb7
2017-05-18 19:42:51 +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
d720f319fe Merge "More unit tests for classes needed in reading uid times per cpu freq." into oc-dev am: aff7c3c71e
am: 1768a0054d

Change-Id: Ic22cc9e7289479e8e7df8db961b240db93721a15
2017-05-18 18:06:56 +00:00
Dianne Hackborn
21095637e6 Merge "Work on issue #36891897: Need to ensure foreground services..." into oc-dev am: e4f484915f
am: 4d208f2ec6

Change-Id: Idc57b2a5953b0525d7c51999bcefdba868c68e16
2017-05-18 18:04:17 +00: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
Jeff Sharkey
12f4b76db2 Merge "Unbreak even more APK 26 apps running on "O" preview/beta builds." into oc-dev am: 997042ac33
am: c244963675

Change-Id: I30e0155a9260ec4099ad45d7161c8459c8b657a2
2017-05-18 16:11:07 +00:00
Christine Franks
33a16a93f6 Merge "Don't back up night display state settings" 2017-05-18 16:04:37 +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
TreeHugger Robot
294d4c29f6 Merge "Avoid a race condition on reading qemu.gles property" 2017-05-18 06:38:06 +00:00
Tomasz Wasilczyk
e876f8f845 Merge "Implement isAntennaConnected interface of ITuner." 2017-05-18 04:06:28 +00:00
TreeHugger Robot
8ed859a23a Merge "Print A11yEv. Content Change Types in DEBUG toString" 2017-05-18 03:34:36 +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
Christine Franks
61c68a71e2 Don't back up night display state settings
Bug: 38352336
Test: Turn on night display, then run 'adb shell bmgr transport
android/com.android.internal.backup.LocalTransport && adb shell bmgr
backupnow com.android.providers.settings'. Turn night display off, then
run 'adb shell bmgr restore com.android.providers.settings'. Night display
should not turn back on.
Change-Id: I9ca9474cba9b195850af04ce9d89cbbbd200673b
2017-05-17 16:51:45 -07:00
Ahmed ElArabawy
48b908bd77 Revert "power hal: Use power HAL API 1.1"
This reverts commit 0a4e11480b.
The reason of the revert is to check for the application start time
regression that may have been caused by the CL (original CL# 2087376)

Bug: 38317397
Test: None

Change-Id: I4f249ba722791c7238a38e845a5cc2bd2d14a450
Signed-off-by: Ahmed ElArabawy <arabawy@google.com>
2017-05-17 16:12:57 -07: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
Tomasz Wasilczyk
39ac214838 Implement isAntennaConnected interface of ITuner.
Test: instrumentation
Bug: b/36863239
Change-Id: I325cc29a696a6163fd3db1f2a75e64a2b1ddf514
2017-05-17 14:55:17 -07:00
Lei Yu
64766b86ab Merge "Add settings constants for anomaly detection" 2017-05-17 21:10:34 +00:00