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

Commit 107dcb5c authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fixs the window bounds not correct after rotation" into tm-dev

parents 45af320e b63928a2
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));