Commit Graph

419341 Commits

Author SHA1 Message Date
Amin Shaikh
ac1c310771 Add themed icons.
- Updating missing settings overlay icons.
- Update list of overlayed icons.
- Add IconPackOverlayTest to ensure themed icons stay in sync with the
underlying sysui icons.

Fixes: 135951717
Test: make and push overlays; atest IconPackOverlayTest
Change-Id: Ib712ad3444e1810ba899f7b9fd0b10c7814dd80c
2019-06-28 16:47:29 -04:00
Robert Snoeberger
8fa9dd8173 Merge "Disable custom clock faces in SystemUI" into qt-dev
am: 6613ea8da3

Change-Id: I4418cad82e478cc835da76dc5524bcbe23bdf592
2019-06-27 13:50:37 -07:00
TreeHugger Robot
33cc350063 Merge "Import translations. DO NOT MERGE" into qt-r1-dev 2019-06-27 20:15:27 +00:00
TreeHugger Robot
6613ea8da3 Merge "Disable custom clock faces in SystemUI" into qt-dev 2019-06-27 20:09:06 +00:00
Bill Yi
aae5486926 [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: 949a22d754 -s ours
am skip reason: subject contains skip directive

Change-Id: I7fb9404482659f6428c8a0e5f2ebd80498e1147f
2019-06-27 12:53:08 -07:00
TreeHugger Robot
949a22d754 Merge "Import translations. DO NOT MERGE" into qt-dev 2019-06-27 19:03:41 +00:00
Bill Yi
95a4303082 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Id9e6ec9c96b570ea54b78c426f3a6986c695d82b
2019-06-27 11:07:30 -07:00
Bill Yi
41fe7a8aa4 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I87c000f8ff618d504391218ad0bb13b78312d029
2019-06-27 10:26:09 -07:00
Hyunyoung Song
67232a88c2 Merge "Transfer focus to open panel" into qt-r1-dev 2019-06-27 16:53:29 +00:00
Tim Joines
4ecc6562f6 Merge "Disable USAP by default on devices" into qt-dev
am: 6c3bbf9e93

Change-Id: I131b75b45e43b185266ebb54f49815896fc67ffe
2019-06-27 09:22:21 -07:00
Peiyong Lin
964fcdbebd Merge "Attach color space information when attach and queue buffer." into qt-r1-dev 2019-06-27 16:14:02 +00:00
Tim Joines
6c3bbf9e93 Merge "Disable USAP by default on devices" into qt-dev 2019-06-27 16:01:43 +00:00
Robert Snoeberger
61f04734b8 Disable custom clock faces in SystemUI
This will prevent custom clocks from persisting on dogfooders devices.

Bug: 136090066
Test: `adb shell settings put secure lock_screen_custom_clock_face
"com.android.keyguard.clock.BubbleClockController"` doesn't switch to
Bubble clock.

Change-Id: If9fc43295380d0bc37ca3df4c7187bd4faaf4bde
2019-06-27 10:35:32 -04:00
Jorim Jaggi
e1619cb541 Request invalidate root when legacy nav bar bg changes
am: 6482df5602

Change-Id: Ie6820d914340c7c87d0647bbeea96738abd6a0f8
2019-06-27 04:28:14 -07:00
Jorim Jaggi
6482df5602 Request invalidate root when legacy nav bar bg changes
...because only invalidating the root window node will ensure that
onPostDraw() will be called again.

Test: Open com.planeth.rhythm
Fixes: 135207159
Change-Id: I03f814eb7435d91287968f3dcb72f579ab4a35ed
2019-06-27 11:15:14 +00:00
Lucas Dupin
53aa96d708 Merge "Avoid stuck wake-locks" into qt-dev
am: 13775aa4bb

Change-Id: I0db38fdb7a757510f1f24d981c66b387c6596871
2019-06-27 01:26:38 -07:00
TreeHugger Robot
13775aa4bb Merge "Avoid stuck wake-locks" into qt-dev 2019-06-27 08:00:00 +00:00
Ahan Wu
bd2b9725e0 Merge "Move image wallpaper rendering works to background thread." into qt-dev
am: 84ed5df87f

Change-Id: Id7b816deec2b048e5f6fd641ed44de1ca23c91ff
2019-06-27 00:49:57 -07:00
TreeHugger Robot
84ed5df87f Merge "Move image wallpaper rendering works to background thread." into qt-dev 2019-06-27 07:24:17 +00:00
Edgar Wang
98a51d1080 Merge "Allow wake_lock_screen when AOD is off" into qt-r1-dev 2019-06-27 06:36:34 +00:00
Arthur Hung
d2c76e148e Merge "Fix WindowFocusTests#testTapNonFocusableWindow failed" into qt-dev
am: de5b1d3805

Change-Id: I5212af3e21819580c4cfaba0a202a568798e37ed
2019-06-26 23:07:41 -07:00
TreeHugger Robot
de5b1d3805 Merge "Fix WindowFocusTests#testTapNonFocusableWindow failed" into qt-dev 2019-06-27 05:29:36 +00:00
Lucas Dupin
924010df2d Avoid stuck wake-locks
By having a maximum timeout.

Test: atest WakeLockTest
Fixes: 136001054
Fixes: 135881494
Change-Id: Ie189809191890213ea79f15e76bc1461a3445641
2019-06-27 05:22:26 +00:00
Lucas Dupin
8eccd076fa Merge "LockIcon fixes" into qt-r1-dev 2019-06-27 04:41:42 +00:00
Makoto Onuki
6e9eedb963 Merge "Remove STOPSHOP, disable DEBUG_ANR" into qt-dev
am: 73e6028ea0

Change-Id: I1fa6dad04efaba2e473c10048bc1494ab0e1337f
2019-06-26 20:41:18 -07:00
Robert Snoeberger
ccf9a609b3 Merge "Disable ClockOptionsProvider so clocks don't appear in picker app" into qt-dev
am: 386f09235d

Change-Id: I839b678103da057bbe21dd03dc818a5758b714cb
2019-06-26 20:27:38 -07:00
Eugene Susla
9bff1b578f Merge "Don't throw from PooledLambda#toString" into qt-dev
am: 667d2c91bc

Change-Id: I4349da2e77a03c31875e46e80539247f3754e2af
2019-06-26 20:23:27 -07:00
TreeHugger Robot
73e6028ea0 Merge "Remove STOPSHOP, disable DEBUG_ANR" into qt-dev 2019-06-27 03:18:59 +00:00
Philip P. Moltmann
1554254bed Merge "Set most leniant mode if two perms affect one appop" into qt-dev
am: d84102bf9e

Change-Id: I53023c0d749473f59aa8f80a83daab30630318a6
2019-06-26 20:11:30 -07:00
Hongwei Wang
e041e62324 Merge "Comparing dimension and rotation instead of DisplayInfo" into qt-dev
am: 50ab7b076d

Change-Id: Icea4c88dfd08f9c8bc9b80a6fdfcbaea49c92313
2019-06-26 20:08:31 -07:00
Christopher Tate
8335a75238 Merge "Defer PSS collection while an activity is starting" into qt-dev
am: 94f0c20ee9

Change-Id: I4a74a24b436bfd8d160c147c50acb3c50ebe5d35
2019-06-26 20:07:20 -07:00
Amith Yamasani
40d13af878 Merge "Fix a regression in setting oom_adj for cached processes" into qt-dev
am: 4025715b3e

Change-Id: Ic9f15ba600f34307d31c88eb11017e5a59f79ea8
2019-06-26 20:05:43 -07:00
Govinda Wasserman
c982441edb Merge "[DO NOT MERGE] resolve merge conflicts of 079d81a479 to qt-r1-dev" into qt-r1-dev 2019-06-27 02:26:21 +00:00
TreeHugger Robot
386f09235d Merge "Disable ClockOptionsProvider so clocks don't appear in picker app" into qt-dev 2019-06-27 01:47:41 +00:00
Lucas Dupin
ad2577e1c0 LockIcon fixes
Gather state inisitally, then consolidate it on a pre-draw listener.
Before we were deciding when to change the icon based on various
variables, now I'm centralizing the decision on getState(), to avoid
cancelling animations.

Test: At AOD2, lock animates in
Test: When locked, press power button: lock icon animates in
Test: Press power button: lock icon animates in scanning and unlocks
Test: Unlock without bypassing, let device sleep, go to AOD2
Test: Long press padlock when it's open
Test: Look at padlock from SIM PIN screen
Test: Look at padlock when lock screen is not secure (no pin/pwd)
Fixes: 135587352
Fixes: 135960400
Change-Id: I85260b6c373d675bd6076046e33519816221157f
2019-06-26 18:24:25 -07:00
Arthur Hung
ee23445971 Fix WindowFocusTests#testTapNonFocusableWindow failed
If the touched window can't gain focus, should ignore
set focus to display and task.

Bug: 135899255
Test: atest WindowFocusTests#testTapNonFocusableWindow
Change-Id: Ibd23d4cac9cf1f346f36c83ac66d650a54f8461d
(cherry picked from commit 4e6e0ec60c)
2019-06-27 00:57:22 +00:00
TreeHugger Robot
667d2c91bc Merge "Don't throw from PooledLambda#toString" into qt-dev 2019-06-27 00:51:27 +00:00
TreeHugger Robot
d84102bf9e Merge "Set most leniant mode if two perms affect one appop" into qt-dev 2019-06-27 00:20:45 +00:00
Eugene Susla
9891f0986c Don't throw from PooledLambda#toString
Turns out there was one more place b/134594642#comment23

Fixes: 134594642
Test: presubmit
Change-Id: I602569c6dd0632641215a7482def2987e10701b2
2019-06-26 15:15:23 -07:00
Hongwei Wang
50ab7b076d Merge "Comparing dimension and rotation instead of DisplayInfo" into qt-dev 2019-06-26 21:52:30 +00:00
TreeHugger Robot
8668e91463 Merge "Reduce floating point error in PerimeterPathGuide." into qt-r1-dev 2019-06-26 21:48:43 +00:00
TreeHugger Robot
94f0c20ee9 Merge "Defer PSS collection while an activity is starting" into qt-dev 2019-06-26 21:41:33 +00:00
TreeHugger Robot
8f411b9990 Merge "Added safeguard to make sure Panel is visible when unlocked" into qt-r1-dev 2019-06-26 21:25:18 +00:00
TreeHugger Robot
e831c9fdd9 Merge "Interpolate high light white balance" into qt-r1-dev 2019-06-26 20:57:25 +00:00
TreeHugger Robot
4025715b3e Merge "Fix a regression in setting oom_adj for cached processes" into qt-dev 2019-06-26 20:25:19 +00:00
Robert Snoeberger
ceb2bc6e79 Disable ClockOptionsProvider so clocks don't appear in picker app
Bug: 136090066
Test: `adb shell content query --uri content://com.android.keyguard.clock/list_options` fails with could not find provider
Change-Id: I88433c3d4cfbde388c4ace9b726fb4f53f404d48
2019-06-26 16:22:39 -04:00
Philip P. Moltmann
3b8c14c116 Set most leniant mode if two perms affect one appop
The location permission share an app-op between two permissions. Hence
the app-op is influenced by both permissions.

Test: atest CtsPermissionTestCases:android.permission.cts.BackgroundPermissionsTest
            CtsPermissionTestCases:android.permission.cts.SplitPermissionTest
            CtsPermission2TestCases:android.permission2.cts.RestrictedPermissionsTest
Fixes: 135665408
Change-Id: I8778351ff275cdd892708ca837295a89a4aa3c77
2019-06-26 13:06:42 -07:00
Christopher Tate
fa778eb014 Defer PSS collection while an activity is starting
Make sure not to process any requested PSS collections for a brief time
after an activity start is initiated, to reduce resource contention
during the launch.

Device config atom to configure:

  ActivityManager/activity_start_pss_defer

Milliseconds; defaults to zero (PSS deferral policy disabled)

Bug: 133433769
Test: manual
Merged-In: Icf5cf2e3dde0bd5fd3ab9c4a85adfb1f3382057f
Change-Id: Icf5cf2e3dde0bd5fd3ab9c4a85adfb1f3382057f
2019-06-26 13:02:01 -07:00
Mady Mellor
0292861a55 Merge "Add check for the device having "feature face" before requesting the service" into qt-r1-dev 2019-06-26 20:00:10 +00:00
Govinda Wasserman
8803dd60e4 [DO NOT MERGE] resolve merge conflicts of 079d81a479 to qt-r1-dev
Bug: None
Test: I solemnly swear I tested this conflict resolution.
Change-Id: I11600ca3dafeb2d33d6b136895516ce52fdc7f6b
2019-06-26 19:55:36 +00:00