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

Commit bf37d2e6 authored by Tony Huang's avatar Tony Huang
Browse files

Fix split black if active from pip

When expand from pip, it should set task bounds to null because
split always controls split root task bounds rather than child
task bounds.

Fix: 208174939
Test: manual
Test: pass existing tests
Change-Id: I6e391442049db9eda0c44f97e3d62ed04616cb93
parent f1650d86
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -1255,11 +1255,7 @@ public class PipTaskOrganizer implements ShellTaskOrganizer.TaskListener,
        } else if (isOutPipDirection(direction)) {
            // If we are animating to fullscreen or split screen, then we need to reset the
            // override bounds on the task to ensure that the task "matches" the parent's bounds.
            if (direction == TRANSITION_DIRECTION_LEAVE_PIP_TO_SPLIT_SCREEN) {
                taskBounds = destinationBounds;
            } else {
            taskBounds = null;
            }
            applyWindowingModeChangeOnExit(wct, direction);
        } else {
            // Just a resize in PIP