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

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

Update rotation controller if rotation changed

Some non-activity windows perform rotation asynchronously. If a
window has not redrawn yet but display rotation changes again, it
should apply new transform based on new rotation. Especially the
screen decor windows should use SeamlessRotator with new rotation.

While for non-seamless windows, keep their existing state because
the fade animation may be running in progress, then just let it
continue to avoid changing alpha between 0 and 1 suddenly.

Also remove mAlwaysWaitForStartTransaction because since [1],
the condition becomes a dead code.
[1]: I7e1de5b5fe12cb30b5f48808ea6b0a2214c0f339

Bug: 290322702
Test: Open app in a different orientation from home.
      Return to home and launch the app again in a short time.
      The screen decorations should not be flickering.
Change-Id: Ib7594486703468605fc0d01c0e4256ba0aa87bef
parent 842ba6f0
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