summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2024-06-11 12:00:46 +0000
committer Riddle Hsu <riddlehsu@google.com> 2024-06-11 12:10:52 +0000
commit67d168edf0bf9b19ea47ba0d0346987650640119 (patch)
treec4c41209533c26ac9f454e7ab6e48cb1e8aabeab /libs/androidfw/StringPool.cpp
parentd24f7b2d8eda762c5a5c4e242bc6fbd76ec75d65 (diff)
Update layer order of tasks when restoring pip to previous task
Because TransitionController#canAssignLayers skips assigning layer when a transition is playing, when applying WCT for finishing transition, the layer changes won't take effect immediately. Especially if there is a following transition which makes the tasks use sync transaction, the layer update could be delayed more. The example of window hierachy: TaskA(z=1) activityA TaskB(z=2) activityB TaskP(z=3) activityPip After restoring activityPip to TaskA: TaskB(z=2) activityB TaskA(z=1) activityA, activityPip TaskA has moved to top but its surface layer is still lower than the previous TaskB. Bug: 340990222 Test: Enter pip from an activity which lives on a task with multiple activities. Launch another fullscreen activity. (Home won't affect because it is always at bottom) Expand pip to fullscreen with orientation change. The previous fullscreen activity should not flicker on top. Change-Id: I6172e69400a258d9fdbc66044b459d65af622d14
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions