summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Beverly <beverlyt@google.com> 2022-08-02 13:58:34 +0000
committer Beverly Tai <beverlyt@google.com> 2022-08-03 15:00:38 +0000
commit24f8bdf627c5613ec9183f5c6bcb4ee8359592e0 (patch)
treeef3b1f363898c87bbf96ef44dad5bfd9953be908 /libs/androidfw/StringPool.cpp
parente04531c84ad4ce7af669593a92ba7d1a7e424db9 (diff)
Improve UDFPS unlock animation experience
- Don't expand shade if touch started from KG and then ended when KG was not longer showing. This can happen if the security setting is set to swpe to open, and the user transitions to the SHADE. Then, the touch can be canceled if a window is transitioning to landscape. - Don't propagate notification panel expansion to the bouncer when the device is unlocking with biometric (MODE_DISMISS_BOUNCER). Since KeyguardBouncer.EXPANSION_VISIBLE = 0 panel expansion, calls during the unlock transition to collapse the notification panel unintentionally end up showing the bouncer. - If the KG isn't showing and the bouncer is in transit, reset the bouncer expansion to HIDDEN. Test: open fruit ninja (which is locked to landscape) and swipe to unlock, notice that panel does not expand on unlock Test: unlock using udfps by sliding finger from slightly below/diagonal of the UDFPS sensor (so that the bouncer transition begins), and then successfully authenticate with UDFPS => observe the bouncer UI doesn't flash on the screen after successful authentication. Test: atest StatusBarKeyguardViewManagerTest Bug: 240487038 Bug: 240763673 Change-Id: I9e1fb108147ffb4c812ea2b94a50d6201eaf008a
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions