summaryrefslogtreecommitdiff
path: root/libs/androidfw/Idmap.cpp
diff options
context:
space:
mode:
author Josh Tsuji <tsuji@google.com> 2022-04-29 15:27:31 -0400
committer Josh Tsuji <tsuji@google.com> 2022-05-02 15:35:48 +0000
commitfa9008bf1e30614428e00c33c40eb133b8c99a35 (patch)
treeac412909801b277dc0cfc7ef3286918d113ea350 /libs/androidfw/Idmap.cpp
parentd5bb81348c4c6578e564b5d4b05e8ed06e1492ff (diff)
Fix wakeAndUnlock immediately after sleep.
This resulted in fragments of the shade/keyguard being visible as we unlocked, due to the screen off animation putting the shade in a half KEYGUARD half SHADE state. The existing code assumed that wake and unlock would always be from a fully settled KEYGUARD state. By simply updating the keyguard state as soon as we wakeAndUnlock, things look good. I tried to add a test in CentralSurfacesTest, but StatusBarStateController, etc. are not initialized because that test is not set up correctly. Fixes: 229047510 Fixes: 229047979 Fixes: 230528305 Test: atest SystemUITests Merged-In: I0603d2c1d467c8172764ff23be1c3879b8f2edfe Change-Id: I0603d2c1d467c8172764ff23be1c3879b8f2edfe
Diffstat (limited to 'libs/androidfw/Idmap.cpp')
0 files changed, 0 insertions, 0 deletions