summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Marzia Favaro <marziana@google.com> 2024-04-04 14:16:56 +0000
committer Marzia Favaro <marziana@google.com> 2024-04-05 16:05:28 +0000
commitf5ec5ef1ea2630546ac57b7655af88865a2a1d54 (patch)
treee68ae9df6c0d1500371466340859bd5ae21c0946 /libs/androidfw/StringPool.cpp
parent3f3ff6bdf784f399c826296971156778ccec7f3a (diff)
Add transition on keyguard showing
This transition helps with ensuring the correct wallpapers when keyguard is showing. We are experiencing issues with the wallpapers changing visibility during a transition, thus having an incorrect finish state: a wallpaper can not become immediately invisible while in a transition (because it is expected to commit invisibility only at the end), which implies that if the wallpaper is collected while becoming visible, the requests to become invisible during the transition period get ignored (because at the end of the transition we are expected to not make it invisible, since it just became visible at the start). This implies that locking keyguard while there is an ongoing transition leads to the wrong wallpaper showing on lockscreen, because we can not hide the home wp simply by requesting to adjustWallpapers. Therefore, we create a new transition to avoid handling unexpected visibility changes on ungoing transitions. Bug: 327970608 Bug: 323226308 Test: manual - delay execution of KeyguardViewMediator#updateActivityLockscreenState, wait for keyguard to unlock and observe lockscreen Test: manual - unlock keyguard, open app, lock keyguard, unlock keyguard, close app, lock keyguard, observe lockscreen - all in rapid succession Change-Id: I80313281219fd6b42fe3dffffde2ef90086b0e59
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions