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

Commit 98d6fe40 authored by Yujia Zhang's avatar Yujia Zhang
Browse files

fix spelling error

Change-Id: I590e1d8721780b0f271d9a821f08c765a61e1bfe
parent ad8bdda8
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -2728,7 +2728,7 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP
     * Expands the given rectangle by the region of window resize handle for freeform window.
     * @param inOutRect The rectangle to update.
     */
    private void adjustRegionInFreefromWindowMode(Rect inOutRect) {
    private void adjustRegionInFreeformWindowMode(Rect inOutRect) {
        if (!inFreeformWindowingMode()) {
            return;
        }
@@ -2772,7 +2772,7 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP
                }
            }
        }
        adjustRegionInFreefromWindowMode(mTmpRect);
        adjustRegionInFreeformWindowMode(mTmpRect);
        outRegion.set(mTmpRect);
        cropRegionToRootTaskBoundsIfNeeded(outRegion);
    }
@@ -3546,7 +3546,7 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP
        }

        rootTask.getDimBounds(mTmpRect);
        adjustRegionInFreefromWindowMode(mTmpRect);
        adjustRegionInFreeformWindowMode(mTmpRect);
        region.op(mTmpRect, Region.Op.INTERSECT);
    }