summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Marzia Favaro <marziana@google.com> 2024-04-04 14:16:56 +0000
committer Robin Lee <rgl@google.com> 2024-04-22 11:26:59 +0000
commite778719ef9ee0436239779fb293797c9cd51abf8 (patch)
tree297b8960376652417ae4d6a52f6060a7d62ec294 /libs/input/PointerController.cpp
parentff603f83dfd9ab9b9db695c20b375e6460bd7cbf (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 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:f5ec5ef1ea2630546ac57b7655af88865a2a1d54) Merged-In: I80313281219fd6b42fe3dffffde2ef90086b0e59 Change-Id: I80313281219fd6b42fe3dffffde2ef90086b0e59
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions