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
Loading
Please register or sign in to comment