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

Commit c3277665 authored by Oleg Blinnikov's avatar Oleg Blinnikov Committed by Automerger Merge Worker
Browse files

Copy WindowState Bounds before modifying them am: 25e64aed

parents 6c389c81 25e64aed
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -861,7 +861,7 @@ public final class AccessibilityWindowsPopulator extends WindowInfosListener {

        private static void getLetterBoxBounds(WindowState windowState, Region outRegion) {
            final Rect letterboxInsets = windowState.mActivityRecord.getLetterboxInsets();
            final Rect nonLetterboxRect = windowState.getBounds();
            final Rect nonLetterboxRect = new Rect(windowState.getBounds());

            nonLetterboxRect.inset(letterboxInsets);
            outRegion.set(windowState.getBounds());