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

Commit 46853529 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fixs the window bounds not correct after rotation" into tm-dev am: 107dcb5c

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17146276

Change-Id: I3c9c6970b11d59137570e4c918447bd69d199d5d
parents 3f489125 107dcb5c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -811,8 +811,8 @@ public final class AccessibilityWindowsPopulator extends WindowInfosListener {
                RectF windowFrame = TEMP_RECTF;
                windowFrame.set(rect);

                inverseMatrix.mapRect(windowFrame);
                displayMatrix.mapRect(windowFrame);
                inverseMatrix.mapRect(windowFrame);
                // Union all rects.
                outRegion.union(new Rect((int) windowFrame.left, (int) windowFrame.top,
                        (int) windowFrame.right, (int) windowFrame.bottom));