Consolidate split screen rotation in shell transition
1. Prevent updating split layout twice during rotation with configuration changed. If the only difference is orientation, it means we've handled bounds changes for rotation before, the only thing thing left is to make sure divider bar will be rendered with proper resources that matching with the new orientation. 2. When handling child task changes, make sure to also update crop if it's not sharing the same bounds with its parent. 3. Also exclude adjusting bounds of tasks created-by-organizer while display changed, since the organizer created them should handle that instead. This is needed to prevent their bounds being rotated twice in organizer and wm-core. Bug: 207185041 Bug: 206487881 Test: atest WMShellUnitTests Test: enable shell-transition, enter split screen, check the rotation behavior of split screen. Change-Id: I63e4a8566bdc4f3fcad7d4bae59fa23ad03929ac
Loading
Please register or sign in to comment