summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Matt Pietal <mpietal@google.com> 2022-08-24 13:45:42 +0000
committer Justin Weir <justinweir@google.com> 2022-09-07 17:51:38 +0000
commitecc539a26b8aed7cab14de61203f65f85ca4d036 (patch)
tree5e147663dbdaffba83c191e861a35f9782a57e1a /libs/androidfw/ResourceTimer.cpp
parent52467f6e4a14acd9b513288399761d7c627e472d (diff)
Fix shade collapse on keyguard with bypass enabled
Only with face unlock + bypass enabled, when dragging down the shade over keyguard, the end motion event was forcing the shade to collapse again, due to an incorrect check on the keyguard state. Use the KeyguardStateController.isShowing() method instead, which is a more accurate check on keyguard state. Fixes: 242813247 Test: All combinations of face unlock enabled/disabled, notifications visible on lockscreen on/off, notification redacted on/off, face bypass on/off Merged-In: I99c6ced66f3269dbf4e6df1d078d7c793492c157 Change-Id: I827128fc5f57a24eee5110f5c2b8ccb697a7f821 (cherry picked from commit 6b80f7c41c675c56ff2b67ef3848973b806b73dc)
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions