diff options
author | Winson Chung <winsonc@google.com> | 2017-01-26 10:55:34 -0800 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2017-01-27 17:23:57 +0000 |
commit | 3048004087968674c3af97e1c0b110a223f04703 (patch) | |
tree | c3413c07df99b65c1395e46f57eed21ab779eb99 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 1457cdcca56985d8aa09846ad53ee459997ea56e (diff) |
Reparent the activity in the task with associated window containers.
- Currently moveActivityToStack() adds the activity to the top of the
new task in the new stack, but the code path to update the window
container controllers assumes that they are in the same task and
attempts to position it by index. Instead, we should properly
reparent the activity in the new task (just like we reparent tasks
into new stacks), and also reparent the associated app window tokens
into their new tasks on the WM side.
- Also should fix an issue when trying to reparent an activity from one
task to another task by affinity.
Bug: 34394702
Test: AppWidgetContainerControllerTests#testReparent
Test: android.server.cts.ActivityManagerPinnedStackTests#testEnterPipFromTaskWithMultipleActivities
Change-Id: Ib767f85eb4f469cfd1c108c55242996325bdb866
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions