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

Commit 6a02e15d authored by Craig Mautner's avatar Craig Mautner Committed by Android Git Automerger
Browse files

am 6ba2ec8f: am 74fe6ce7: Merge "Do not go through a layout if visibility is...

am 6ba2ec8f: am 74fe6ce7: Merge "Do not go through a layout if visibility is GONE" into lmp-mr1-dev automerge: 2381825d

* commit '6ba2ec8f':
  Do not go through a layout if visibility is GONE
parents 706e2b71 6ba2ec8f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2997,8 +2997,8 @@ public class WindowManagerService extends IWindowManager.Stub
                return 0;
            }
            WindowStateAnimator winAnimator = win.mWinAnimator;
            if (win.mRequestedWidth != requestedWidth
                    || win.mRequestedHeight != requestedHeight) {
            if (viewVisibility != View.GONE && (win.mRequestedWidth != requestedWidth
                    || win.mRequestedHeight != requestedHeight)) {
                win.mLayoutNeeded = true;
                win.mRequestedWidth = requestedWidth;
                win.mRequestedHeight = requestedHeight;