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
Loading
Please register or sign in to comment