Playing tap target sounds when unlocking from AoD
make them overlap. Let's skip taps and only play
the "unlock" sound.
Change-Id: I381e13604c61938ceceac903a8e2a52bf9192bbe
Fixes: 64411995
Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/statusbar/ExpandableNotificationRowTest.java
It's hard to determine why sometimes after OTA/reboot the first FP
authenticated doesn't cause bouncer to appear. Suspect calculateMode()
is returning either MODE_NONE or MODE_ONLY_WAKE but hard to verify without
log
Bug: 62444020
Test: build and look at log
Change-Id: Ie0dd9cc88bf300b06f1c85124fe98de6d3a1e6ba
The old implementation used incompatible read/write logic. Fixes the
constructor to use readParcelable() instead of
CREATOR.createFromParcel(). Adds tests.
Bug: 65379063
Test: make -j40 RunSettingsLibRoboTests
Change-Id: I6a6c183fe065f36fcc8d4a25637f98dfdaad350d
Merged-In: I6a6c183fe065f36fcc8d4a25637f98dfdaad350d
Inflating a keyguard while dettached from window would
raise a NullPointerException since window insets wouldn't
be available at the time.
Test: packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/KeyguardBouncerTest.java
Change-Id: I7f48a62807877537814e6f34db1e6fa6fbec7923
Fixes: 65495303
FP authentication should be allowed whenever the screen saver is showing,
even if the device is not locked yet.
Fixes: 64537131
Test: 1) Disable AOD
2) Manually start screen saver from Settings
3) Before device is locked, touch FPS, device unlocks and wakes
Test: Do the same as the first test, but wait for the device to be locked
before touching FPS. Device unlocks and wakes
Test: Do the first two tests again with AOD enabled
Change-Id: Icd93a2e73d581e61b1c158b16de243722bd5680c
When screensaver (not AOD) starts, the device is still "screen-on".
Keyguard can come up in the background, and if the user dismisses
screensaver, the cache will not have been updated but the device now
requires authentication
Fixes: 65487788
Test: 1) go to settings, start screensaver
2) wait 5s for keyguard to come up beneath
3) tap on screen to dismiss screensaver
4) lock or fingerprint icon should be shown, instead of unlocked icon
Change-Id: I160e6fa03ea4f72e792c2428d4246e7f3a60ace4
Because of the fake shadow, the shelf could flicker in when
the last notification was activated.
Change-Id: I5fcf4dcec9fa73821402e6a3147922bbecb9a992
Fixes: 65022491
Test: click on last notification on keyguard, observe.
The shelf and small notifications weren't scrollable
because we were requiring a minimum height. This
is not needed in order to scroll and it is removed.
Fixes: 65298525
Test: scroll on shelf in the shade, it should work now.
Change-Id: I74f522c94198c2337d324f087c3d2cf1370b5116
Since the test could be off the UI thread, cancelling
would not be synchronized properly.
Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/NotificationInflaterTest.java
Change-Id: Icfb02b637b76cdfb853c88130eabddf75203909b
Fixes: 65031224
For system tiles this is more often, but for 3P tiles its pretty rare
except for on boot.
Test: runtest systemui
Fixes: 34804413
Change-Id: I166e2ab6a609acd63b9b4f19579bab12beabba27
Before the icon wasn't clipped to it's notification container
and could go out of bounds. We're now clipping it to it's
surrounding notification.
Change-Id: I1b9a3650eb3e3f0bcd7d7cef087afb7cc41ccf62
Fixes: 63477094
Test: add notifications, observe icon animations, better clipping
- Revert 942a85c6d608dd6a4a31937fe0b57ae43105d5b2
- Use a more specific fix for the triggering of PiP from the SysUI
screenshot share intent.
Bug: 63984385
Bug: 63581685
Test: android.server.cts.ActivityManagerPinnedStackTests
Test: Click share on the screenshot action, ensure activity below does
not enter PiP
Change-Id: Id8041d50dd429030c20940dca19e5c62bbc0c6a4
Removed the logic to enable or disable translucency and have it fully
enable all the time. Having it on has very or no impact on RAM.
Test: boot device and look at nav and status bar
Change-Id: Id9e613abc689ab8c1b53424aa92e864f75f8ed02
Fixes: 65286386
The expand button is now not labeling the notification
anymore since it was too wordy.
Change-Id: I14374b1a97389b8441fdf44eb4993954e765e89f
Fixes: 65123834
Test: use talkback and navigate to expand button, verify not speaking notification anymore
Added missing system insets left to the calculation.
Test: manual - go to recents and rotate to seascape
Change-Id: I25cd2f35b81e350e2934859423985257c4d6daea
Fixes: 65420616