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

Commit fb61a491 authored by Robert Carr's avatar Robert Carr Committed by android-build-merger
Browse files

Merge "Correct screenshot bounds calculation." into nyc-dev

am: df9b9078

* commit 'df9b9078':
  Correct screenshot bounds calculation.

Change-Id: Idad0f055cc7fffb90203a6ed09fbcf6dcdbdc3d1
parents 7ae2b26d df9b9078
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6094,7 +6094,7 @@ public class WindowManagerService extends IWindowManager.Stub
                        int bottom = wf.bottom - cr.bottom;
                        frame.union(left, top, right, bottom);
                        ws.getVisibleBounds(stackBounds);
                        if (!frame.intersect(stackBounds)) {
                        if (!Rect.intersects(frame, stackBounds)) {
                            // Set frame empty if there's no intersection.
                            frame.setEmpty();
                        }