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