Merge "Fixes dragging divider up in splitscreen puts the docked stack behind"
This commit is contained in:
committed by
Android (Google) Code Review
commit
00a3c9358b
@@ -2301,7 +2301,9 @@ public class ActivityStackSupervisor extends ConfigurationContainer implements D
|
||||
} else {
|
||||
for (int i = 0; i < size; i++) {
|
||||
final TaskRecord task = tasks.get(i);
|
||||
task.reparent(FULLSCREEN_WORKSPACE_STACK_ID, MAX_VALUE,
|
||||
final int position = fullscreenStack != null ?
|
||||
Math.max(fullscreenStack.getAllTasks().size() - 1, 0) : 0;
|
||||
task.reparent(FULLSCREEN_WORKSPACE_STACK_ID, position,
|
||||
"moveTasksToFullscreenStack - NOT_onTop");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user