summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Josh Tsuji <tsuji@google.com> 2023-01-05 23:05:56 -0500
committer Josh Tsuji <tsuji@google.com> 2023-01-06 05:51:16 -0500
commit09770ff815e47c92dc37d0f9d4d9becf2f59297a (patch)
tree48fc75659991d8543362aeaf94fc82df8081430f /libs/androidfw/FileStream.cpp
parentcc678f041641677e9d223d1292b88c9db8b464a2 (diff)
Fix lockscreen jump-cutting in during screen off.
isKeyguardShowDelayed() only returns true if the screen off animation is currently playing, but since wakefulness events are dispatched async, it's possible that we try to handle the pending lock in onFinishedGoingToSleep() before the screen off animator actually starts running. We can instead check whether we're intending to delay the keyguard show, even if we haven't quite started the animation yet. Fixes: 256803842 Test: atest KeyguardViewMediatorTest Test: atest UnlockedScreenOffAnimationControllerTest Change-Id: I4fbac5c995d535d1fb962e5663e3d47d8f3bf00f
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions