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

Commit 25ad8e7e authored by Chong Zhang's avatar Chong Zhang Committed by Android (Google) Code Review
Browse files

Merge "Fix bogus warning in startResizingTask"

parents dbb478dc fe98b064
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -6875,6 +6875,8 @@ public class WindowManagerService extends IWindowManager.Stub
        WindowState win = null;
        synchronized (mWindowMap) {
            win = windowForClientLocked(null, window, false);
            // win shouldn't be null here, pass it down to startPositioningLocked
            // to get warning if it's null.
            if (!startPositioningLocked(win, false /*resize*/, startX, startY)) {
                return false;
            }
@@ -6889,7 +6891,7 @@ public class WindowManagerService extends IWindowManager.Stub
        WindowState win = null;
        synchronized (mWindowMap) {
            win = displayContent.findWindowForControlPoint(startX, startY);
            if (!startPositioningLocked(win, true /*resize*/, startX, startY)) {
            if (win == null || !startPositioningLocked(win, true /*resize*/, startX, startY)) {
                return;
            }
        }