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

Commit 719cd831 authored by Miranda Kephart's avatar Miranda Kephart Committed by Android (Google) Code Review
Browse files

Merge "End screenshot animation early on layout change" into sc-dev

parents 5db41a18 da23820f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -573,6 +573,10 @@ public class ScreenshotController {
                            mScreenshotView.updateDisplayCutoutMargins(
                                    mWindowManager.getCurrentWindowMetrics().getWindowInsets()
                                            .getDisplayCutout());
                            // screenshot animation calculations won't be valid anymore, so just end
                            if (mScreenshotAnimation != null && mScreenshotAnimation.isRunning()) {
                                mScreenshotAnimation.end();
                            }
                        }
                    });
        });