Hook up fixed-rotation logic to shell transitions
This works by separating an app launching to 2 phases (similar to legacy fixed rotation). First it launches the app into a different rotation. Once the animation finishes it creates a new seamless display-rotation transition. Because we have displayRotation in windowconfiguration, we can directly rotate a window's surface instead of checking explicitly for fixedRotationState. Since the second-phase is a transition, we don't (ab)use seamlessRotator. Once the display lines-up, the surfaces and configurations automatically update. Since we still want to explore shell-transitions style rotation (single-transition), add a system property to turn it off and on. Bug: 217560545 Test: existing tests and manual tests Change-Id: I0b34b32ff5b2650a519d3c195df452de446cf515
Loading
Please register or sign in to comment