summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author Matt Pietal <mpietal@google.com> 2023-08-09 12:03:23 +0000
committer Matt Pietal <mpietal@google.com> 2023-08-09 14:12:02 +0000
commitdcdd876c006678cc0fc491afb93499667994befe (patch)
tree7ba69ff79f464446f953f7f0f50327fc3b02fdd0 /libs/hwui/FrameInfoVisualizer.cpp
parent83a2357e0a3e48536aaf84d39f897d5d56fe5261 (diff)
Fix stuck unlock animation state
When using face unlock without bypass, the user can swipe up to dimiss the lock screen which will trigger the keyguard going away remote animation. However, if this remote animation is canceled, the 'playingCannedAnimation' state remains true essentially forever. When combined with logic in NotificationShadeWindowViewController that cancels all touches during this animation, the device is left in a unrecoverable state as sysui cannot be interacted with. Rename the cancelled parameter to showKeyguard, to make it clear what the end state will be. Fixes: 288505944 Test: atest KeyguardViewMediatorTest KeyguardUnlockAnimationControllerTest Test: manual - Use face unlock without bypass, then swipe up and hit power at the same time (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:42b8b340fef08e7d0a0a4e69adc25c15456d92c8) Merged-In: I762853d930f02ab0ee7f8cf0216b5aa6d01cf38c Change-Id: I762853d930f02ab0ee7f8cf0216b5aa6d01cf38c
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions