summaryrefslogtreecommitdiff
path: root/libs/input/SpriteController.cpp
diff options
context:
space:
mode:
author Josh Tsuji <tsuji@google.com> 2023-08-23 14:50:52 -0400
committer Josh Tsuji <tsuji@google.com> 2023-08-25 01:47:12 +0000
commit960185865090a85706d9225613aa0a4fbf76fdf1 (patch)
treeddbe69b0ab335ad2e5cc4d00b1e62b2bc2eccdb2 /libs/input/SpriteController.cpp
parent18b2a9bf9037294d9bb029a00a0eeca78c239b1d (diff)
Check isInteractive after traversal before hiding keyguard.
The Runnable passed to postAfterTraversal is capable of unilaterally hiding the keyguard, but it's run at an indeterminate time due to the postAfterTraversal. To be safe, check the earliest source of truth (PowerManager) to see if we're still interactive before proceeding. Fixes: 296886973 Test: lock the device during the unlock animation from bouncer to an app Test: atest SystemUITests Change-Id: Iaef7cff8366015c3e66aac4d740f6240e7c183db
Diffstat (limited to 'libs/input/SpriteController.cpp')
0 files changed, 0 insertions, 0 deletions