summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.cpp
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2017-02-13 12:12:22 -0800
committerWinson Chung <winsonc@google.com>2017-02-15 10:51:17 -0800
commitbdc646f5d514259d9aae975bac64363947db0d32 (patch)
treeb220178e91ef80b9e6db2185d4127bc71239266c /tools/aapt2/diff/Diff.cpp
parentc535d122c6a58a152ff2581f936070c2695c45ba (diff)
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
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions