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

Skip to content
Commit d1d2e8bf authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Avoid updating display orientation from closing activity

This prevents continueUpdateOrientationForDiffOrienLaunchingApp from
being called twice (especially the order is random by the hashcode of
transition participants) for a transition when launching fixed
rotation activity. Otherwise if the display orientation is not changed
by the method, it will clear the rotation transform of the launching
activity too early, which causes flickering by
rotated > not-rotated > rotated.

Since shell transition and the support of respect-non-top-visible
orientation, some legacy conditions can be replaced. Also make
the tests adopt shell transition.

Bug: 374898575
Flag: EXEMPT bugfix
Test: atest DisplayContentTests#testApplyTopFixedRotationTransform
            testFinishFixedRotationNoAppTransitioningTask

Change-Id: I2d0e265d25c1a81f044975a73d955aac658341a2
parent 9afbd46d
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