Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit fda49011 authored by Sherry Zhou's avatar Sherry Zhou
Browse files

Fix smallClock and smartspace jumping when transitioning from AOD to Lockscreen

When transitioning from AOD to Lockscreen, translationY is calculated
from `aodToLockscreenTransitionViewModel`, and we need to provide
currentTranslationY function, which is wired from BurnInParameters.
Otherwise, translationY is always 0.

Test: manually verified that the small clock and smartspace don't jump when transitioning from AOD to lockscreen. In order to do this, I turned on AOD in settings, pressed the power button to get into AOD and then pressed the power button again, to wake up from AOD. I verified that the small clock and smartspace don't "jump"; instead they translate smoothly from burnIn prevent position in AOD to Lockscreen position. I attached videos for before and after in the second comment of b/334982979.
Bug: 334982979
Flag: ACONFIG com.android.systemui.compose_lockscreen DEVELOPMENT

Change-Id: I707bf1354b14df5e04309b40c6080e26a7ac2bdc
parent e6e2ada8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment