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

Commit fd592ffb authored by Andrii Kulian's avatar Andrii Kulian Committed by android-build-merger
Browse files

Don't update configuration for invisible windows

am: 3dcdf64c

Change-Id: Ia64347043165aabfd663ed9d2cdefc7c42795957
parents 36905507 3dcdf64c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1763,7 +1763,7 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP
    @Override
    void onResize() {
        final ArrayList<WindowState> resizingWindows = mService.mResizingWindows;
        if (mHasSurface && !resizingWindows.contains(this)) {
        if (mHasSurface && !isGoneForLayoutLw() && !resizingWindows.contains(this)) {
            if (DEBUG_RESIZE) Slog.d(TAG, "onResize: Resizing " + this);
            resizingWindows.add(this);
        }