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

Commit 8658d433 authored by Rob Carr's avatar Rob Carr Committed by Android (Google) Code Review
Browse files

Merge "Fix cropping in docked stack." into oc-dev

parents e8d7c01e 002c8e1f
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -1132,7 +1132,10 @@ class WindowStateAnimator {
        // Task is non-null per shouldCropToStackBounds
        final TaskStack stack = w.getTask().mStack;
        stack.getDimBounds(finalClipRect);

        if (StackId.tasksAreFloating(stack.mStackId)) {
            w.expandForSurfaceInsets(finalClipRect);
        }
        return true;
    }