summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimation.cpp
diff options
context:
space:
mode:
author Matt Pietal <mpietal@google.com> 2024-11-04 19:48:22 +0000
committer Matt Pietal <mpietal@google.com> 2024-11-04 20:07:45 +0000
commitc9ce255f85a3c25dc3f73c82538656039b55c4e7 (patch)
tree7204ea017a18511d8ba9cfd98d8e75cb11babfe4 /cmds/bootanimation/BootAnimation.cpp
parentcd1ea09d418470879f723e00356fc6cbce830095 (diff)
Enable smoother burn-in adjustments on transition cancel
Using transitionValue() when a transition is canceled produces a jump in values and a bad animation. Listening to transition edges directly does not have that same effect, as it will use the last real value emitted. To make sure values reset, also listent to all transition to LOCKSCREEN. Test: atest AodBurnInViewModelTest Test: double-tap launch camera from AOD/LOCKSCREEN Test: repeatedly unlock/lock with sidefps Fixes: 336241173 Fixes: 369173324 Flag: EXEMPT bugfix Change-Id: I084f06be7133d4c9e84d5983660f5086cee76337
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions