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

Commit d9cd20b1 authored by Dan Sandler's avatar Dan Sandler
Browse files

Fix crash on second screenshot.

(Work around new animator.end() behavior.)

Bug: 25601129
Change-Id: I9e5d9fc72cffa909dfd98ad80b7812df2a0e178a
parent 9f1c3f09
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -594,7 +594,9 @@ class GlobalScreenshot {

        // Setup the animation with the screenshot just taken
        if (mScreenshotAnimation != null) {
            if (mScreenshotAnimation.isStarted()) {
                mScreenshotAnimation.end();
            }
            mScreenshotAnimation.removeAllListeners();
        }