summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author Lucas Silva <lusilva@google.com> 2024-03-12 16:23:55 -0400
committer Lucas Silva <lusilva@google.com> 2024-03-13 11:30:10 -0400
commit90f4c0941b404ca96000b8252cc210d9ff3685f4 (patch)
tree84a95a079f537f7db73cff2d1909b2966fe6f014 /libs/hwui/FrameInfoVisualizer.cpp
parent8ff0d0dc8fa171ad0ce2b25c1915095029b5e8ad (diff)
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
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions