summaryrefslogtreecommitdiff
path: root/libs/androidfw/Util.cpp
diff options
context:
space:
mode:
author Matt Pietal <mpietal@google.com> 2022-09-08 18:51:16 +0000
committer Matt Pietal <mpietal@google.com> 2022-09-09 18:47:35 +0000
commit87a5a038e8e495c06dedd6f4b5dae632c7db182a (patch)
tree1f0f6420206645bad005a449baf846504f56f89f /libs/androidfw/Util.cpp
parent335bf58490e6862f30e3eb05d794b7033d3bc334 (diff)
Remove MODE_WAKE_AND_UNLOCK_PULSING from stopDozing
A race condition exists when unlocking with UDFPS, or when unlocking from a pulse state, that leaves SystemUI believing it is still in a doze state even after unlocking. Because of this, the blur never transitions and instead stuck in the doze state, which then causes SystemUI to retain focus and grab all touches over the launcher. This code path should no longer be relevant. Updated unlock animations now handle all the keyguard elements without the need for this dedicated path. Furthermore, cleanup unused paths in NotifcationShadeDepthController. The animateTo() calls accepted an optional view which was never used. Test: manual - Use UDFPS to unlock while dozing with AOD, without AOD, and when pulsing from a notification Test: atest NotificationShadeDepthControllerTest CentralSurfacesImplTest DozeServiceHostTest Fixes: 242415456 Change-Id: Ide66ab84eda91d8938a48014a91cbe3f12f2bf26 (cherry picked from commit ddc1437ca0894a0070c8271c084eeaeacef82269)
Diffstat (limited to 'libs/androidfw/Util.cpp')
0 files changed, 0 insertions, 0 deletions