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

Skip to content
Commit 90f4c094 authored by Lucas Silva's avatar Lucas Silva
Browse files

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
parent 8ff0d0dc
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