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

Commit 581c55a7 authored by Automerger Merge Worker's avatar Automerger Merge Worker Committed by Android (Google) Code Review
Browse files

Merge "Merge "Fix bug where screenshot jumped to the left" into rvc-dev am:...

Merge "Merge "Fix bug where screenshot jumped to the left" into rvc-dev am: aef754d2 am: 04a79624" into rvc-d1-dev-plus-aosp
parents 619fc103 2e788718
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -551,7 +551,7 @@ public class GlobalScreenshot implements ViewTreeObserver.OnComputeInternalInset
                super.onAnimationEnd(animation);
                mScreenshotView.setScaleX(cornerScale);
                mScreenshotView.setScaleY(cornerScale);
                mScreenshotView.setX(finalPos.x - height * cornerScale / 2f);
                mScreenshotView.setX(finalPos.x - width * cornerScale / 2f);
                mScreenshotView.setY(finalPos.y - height * cornerScale / 2f);
                Rect bounds = new Rect();
                mScreenshotView.getBoundsOnScreen(bounds);