summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Matt Pietal <mpietal@google.com> 2022-03-03 08:14:47 -0500
committer Matt Pietal <mpietal@google.com> 2022-03-03 14:46:43 -0500
commit8f95a348fa6f4e512b59ed759710b0f0731a3085 (patch)
treebdccea27cf53059f964a77b68eab532804beb8c5 /libs/androidfw/StringPool.cpp
parent3e2a850fa69cb3d9b7c36e7c5bee177825c20f6c (diff)
Scrim was flickering on FPS unlock
After inspecting traces, the scrim state was flickering between UNLOCKED -> KEYGUARD -> UNLOCKED within a few hundred millis after unlocking the device. This could produce an inconsistency in state, where CentralSurfaces thinks keyguardShowing=true but KeyguardStateController thinks keyguardShowing=false. When the CentralSurfaces#updateScrimController(), the code was checking both locations and getting a different answer. Remove mKeyguard from CentralSurfaces and rely on KeyguardStateController Fixes: 221732271 Test: atest CentralSurfacesTest and manual locks/unlocks Change-Id: I6b2ce8e01ac9e61bd31c6928a20303347af79583
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions