summaryrefslogtreecommitdiff
path: root/libs/androidfw/misc.cpp
diff options
context:
space:
mode:
author Matt Pietal <mpietal@google.com> 2023-08-31 12:18:57 +0000
committer Matt Pietal <mpietal@google.com> 2023-08-31 15:10:01 +0000
commitb6f8cd38babdc4a4b5256a6f921a85f387880987 (patch)
tree3df29491c15d356b196c41d6809f8e1b598f1775 /libs/androidfw/misc.cpp
parentb090b16dd5b5c95a26c3b0248918825af148c886 (diff)
Fix light reveal state
An attempt to fix jank for the light reveal disconnected the internal state from the animation start. This lead to a race condition where the state was set to true, and expected to be set back to false after the animation completes but in special cases the animation was canceled. Because of this stuck state, SysUI then entered a loop where no touches were being registered because it believed a screen off animation in progress. Also fix another potential race condition with the aodUiAnimationPlaying. Fixes: 297306022 Test: atest UnlockedScreenOffAnimationControllerTest Test: From launcher, get phone call, hit power off Change-Id: I754c687039b3c20fbeb1bd424d5b5b5ed0414e2f (cherry picked from commit 94f3ec7a2c937486e8154720e6b2d544169f8fca)
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions