Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 00a3c935 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fixes dragging divider up in splitscreen puts the docked stack behind"

parents b0833461 47fa6ae9
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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");
                }
            }