Reset keyguard translation when transition is cancelled
When transitioning to/from the glanceable hub, we translate the keyguard elements offscreen to the left. If the transition gets cancelled, we should move the elements back to their original places. This is reproducible with the following steps: 1) Swipe open the hub from the lockscreen 2) Swipe back slowly and pause halfway through the transition 3) Run "adb shell cmd dreams start-dreaming" to start dreams, while paused halfway through the transition. 4) The HUB->LOCKSCREEN transition is cancelled in favor of the HUB->DREAM transition 5) Notifications and clock are stuck with a weird x-translation Fixes: 329096635 Test: atest SystemUiRoboTest:GlanceableHubToLockscreenTransitionViewModelTest Test: atest KeyguardTransitionRepositoryTest Flag: ACONFIG com.android.systemui.communal_hub TEAMFOOD Change-Id: I09f50bd36c3191d9cb84a61fbb178e570bddcfe3
Loading
Please register or sign in to comment