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

Commit 1d2bacb1 authored by Robert Carr's avatar Robert Carr
Browse files

Do not constrain width/height of child windows at layout.

We wish to allow them to extend beyond the parent boundaries
if they really want a surface that big, and be cropped,
at a later stage.

Bug: 25986646
Change-Id: I650e6d07dcc2aa9eb659860c832685f1a587a1b0
parent a85c273c
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -2572,7 +2572,7 @@ final class WindowState implements WindowManagerPolicy.WindowState {
            y = mAttrs.y;
            y = mAttrs.y;
        }
        }


        if (nonFullscreenTask) {
        if (nonFullscreenTask && !layoutInParentFrame()) {
            // Make sure window fits in containing frame since it is in a non-fullscreen task as
            // Make sure window fits in containing frame since it is in a non-fullscreen task as
            // required by {@link Gravity#apply} call.
            // required by {@link Gravity#apply} call.
            w = Math.min(w, pw);
            w = Math.min(w, pw);