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

Commit 5a5057a7 authored by Jorim Jaggi's avatar Jorim Jaggi Committed by Android (Google) Code Review
Browse files

Merge "Use actual window size for layout" into nyc-dev

parents 0601a1c6 26d02d29
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1982,7 +1982,7 @@ public final class ViewRootImpl implements ViewParent,
        boolean triggerGlobalLayoutListener = didLayout
        boolean triggerGlobalLayoutListener = didLayout
                || mAttachInfo.mRecomputeGlobalAttributes;
                || mAttachInfo.mRecomputeGlobalAttributes;
        if (didLayout) {
        if (didLayout) {
            performLayout(lp, desiredWindowWidth, desiredWindowHeight);
            performLayout(lp, mWidth, mHeight);


            // By this point all views have been sized and positioned
            // By this point all views have been sized and positioned
            // We can compute the transparent area
            // We can compute the transparent area