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

Commit 5241e3eb authored by Tracy Zhou's avatar Tracy Zhou Committed by Android (Google) Code Review
Browse files

Merge "Null mRecentsAnimationController in the end" into sc-dev

parents 6d115b39 74b9ae57
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3169,7 +3169,6 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
        }

        mRecentsAnimationController.finish(toRecents, () -> {
            mRecentsAnimationController = null;
            if (onFinishComplete != null) {
                onFinishComplete.run();
            }
@@ -3179,6 +3178,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;
        });
    }