- 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
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
...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
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
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)
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
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