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

Commit 3230d5b8 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Avoid clearing rotation transform too early

This reduces flickering of display cutout when switching apps with
different orientations consecutively.

For example, when the display is updating to new rotation seamlessly
after returning from a landscape app to portrait home, immediately
launch the landscape app again. Some non activity windows may have
not drawn in new rotation, so their surfaces have unrotated transform
to preserve original appearance. If clearFixedRotationLaunchingApp is
called before the next transition completes, it may invoke
AsyncRotationController#completeAll to clear the transform, which
causes the windows to show old rotation appearance.

So skip the force finish for the collecting case and let the existing
AsyncRotationController handle the transform.

Bug: 403394916
Flag: EXEMPT bugfix
Test: TransitionTests#testFinishRotationControllerWithFixedRotation
Change-Id: Ib1418b9ee4e478f3f2f3e7fbae4f93c96a2ac3fc
parent 7a79cec7
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