summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Matt Pietal <mpietal@google.com> 2023-08-09 12:03:23 +0000
committer Zheng Pan <zhengpan@google.com> 2023-08-09 21:03:06 +0000
commit827521fe9fe09ea0d83c4ca9d5ca2a42b8a20c58 (patch)
tree79e7fbca62414ca5adb009955a52486988d3bc99 /libs/input/PointerController.cpp
parent42f906716186bdb4b8b19546bdf89f043fe4228d (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 Change-Id: I762853d930f02ab0ee7f8cf0216b5aa6d01cf38c Merged-In: I762853d930f02ab0ee7f8cf0216b5aa6d01cf38c (cherry picked from commit aed9df4bd1d838c2bfdc6f6a88943dc78a6f2f3d)
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions