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

Commit d142cf11 authored by Coco Duan's avatar Coco Duan
Browse files

Fix flickering when swiping back to keyguard from hub in landscape

The keyguard elements sometimes flicker when exiting hub in landscape,
if the transition animation starts early, before screen rotation.

The fix is to monitor orientation changes from the Communal Container
and add two flows that derives from the orientation change:
a flow for landscape-to-portrait transition,
a flow for screen rotated to portrait,
to help the Communal Container handle landscape swipe and the Transition
ViewModel control keyguard animation.

Fixes: b/400464568
Test: atest GlanceableHubToLockscreenTransitionViewModelTest
Test: atest CommunalViewModelTest
Flag: com.android.systemui.glanceable_hub_v2
Change-Id: I74c8305131f2a63ba96c132b83884c7057a6f87a
parent eaab750a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment