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

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

Merge "Do not constrain width/height of child windows at layout." into nyc-dev

parents b12c2601 1d2bacb1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2593,7 +2593,7 @@ final class WindowState implements WindowManagerPolicy.WindowState {
            y = mAttrs.y;
        }

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