summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Evan Rosky <erosky@google.com> 2022-03-18 15:33:36 -0700
committer Evan Rosky <erosky@google.com> 2022-03-18 15:33:36 -0700
commit433c5eae073416d7b30536b0335f91018443985c (patch)
tree3252a6d2a73b95654ac2b0d2c823c8698a020bc6 /libs/androidfw/StringPool.cpp
parentcde55d305f5b7d43f5b026812ba0b149bac6d5cf (diff)
Sync PiP WM bounds to rotation immediately for fade-in
When pip is fading-in, it should be reconfigured at the start of the animation. This means that if the display rotates, we want to immediately update the pip bounds to match otherwise the window content will be relayout-ed in the wrong place on screen -- usually resulting in unwanted insets. In this case, keep track of when we are expecting to start a fade-in and, in that situation, recalculate the bounds. Additionally, fix a non-deterministic ordering situation where some legacy per-activity callbacks would make global changes. This meant that the order of activities in mParticipants could effect which transition was actually requested. This CL moves all the legacy callbacks after the other per-activity logic in finishTransition. Bug: 222033492 Test: Open landscape auto-pip app. Open recents, tap on edge watch pip fade-in without content-flicker Change-Id: Iea3dc3ac4ddda02e1b464baedd11fb1cc9cbe930
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions