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

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

Ensure to reset seamless transform after transition

If the start transaction of rotation transition is committed
after transition timeout, the unrotate transform will be applied
after resetting transform for timeout. That will cause the
surfaces of seamless windows (e.g. cutout or button bar) to show
in wrong rotation. So by using sync transaction, the sync engine
can apply the reset in correct order from CommitCallback.

Also make shell transition no longer use setOrientationChanging,
because it is used for legacy frozen state that shell transition
doesn't use. That avoids prematurely notifing the async rotation
controller that a window has completed rotation.

Bug: 266711229
Test: atest TransitionTests#testDisplayRotationChange
Change-Id: I8484d38c1a2dfc77f371d2ba3c9848f2341b8f4a
parent e1c119c7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment