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

Commit 74b9ae57 authored by Tracy Zhou's avatar Tracy Zhou
Browse files

Null mRecentsAnimationController in the end

Fixes: 186141367
Test: manual
Change-Id: Iccc96ef6ffebcb0b7a7953d2423dfdb738823431
parent 1969cd15
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3069,7 +3069,6 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
        }

        mRecentsAnimationController.finish(toRecents, () -> {
            mRecentsAnimationController = null;
            if (onFinishComplete != null) {
                onFinishComplete.run();
            }
@@ -3079,6 +3078,7 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
            // typical example of this is (1) user swipes up from app to Overview (2) user
            // taps on QSB (3) user goes back to Overview and launch the most recent task.
            setCurrentTask(-1);
            mRecentsAnimationController = null;
        });
    }