Merge "Fix split black if active from pip" into sc-v2-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
cfcfa22395
@@ -1255,11 +1255,7 @@ public class PipTaskOrganizer implements ShellTaskOrganizer.TaskListener,
|
|||||||
} else if (isOutPipDirection(direction)) {
|
} else if (isOutPipDirection(direction)) {
|
||||||
// If we are animating to fullscreen or split screen, then we need to reset the
|
// 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.
|
// 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 = null;
|
||||||
taskBounds = destinationBounds;
|
|
||||||
} else {
|
|
||||||
taskBounds = null;
|
|
||||||
}
|
|
||||||
applyWindowingModeChangeOnExit(wct, direction);
|
applyWindowingModeChangeOnExit(wct, direction);
|
||||||
} else {
|
} else {
|
||||||
// Just a resize in PIP
|
// Just a resize in PIP
|
||||||
|
|||||||
Reference in New Issue
Block a user