Reducing number of configuration changes during PiP transition.
- Fixes issue with the incorrect calculation of configuration smallest width for floating and always-fullscreen stacks. Fullscreen stacks now have the smallest width matching the display, and floating stacks are set to the smallest size of their bounds. - This CL also ensures that we test the combined global/override configs for changes in case changes when moving between stacks results in a shift in the configuration between the parent to the override of the child (ie. when going from fullscreen -> pinned) - Also ensure that we are animating to the right fullscreen bounds for the PiP transition, accounting for the insets when calculating the config change the same way we would do for fullscreen tasks. Bug: 33779483 Test: android.server.cts.ActivityManagerConfigChangeTests passes Test: android.server.cts.ActivityManagerPinnedStackTests Test: #testSingleConfigurationChangeDuringTransition Change-Id: I2c2b695572cd17087d522cf6c8ebd105e57e08b8
Loading
Please register or sign in to comment