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

Commit 0bef6c93 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix NPE when recents animation controller is null" into ub-launcher3-rvc-dev

parents 69d77263 a47a8f1b
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -245,8 +245,10 @@ public abstract class BaseSwipeUpHandler<T extends StatefulActivity<?>, Q extend
    protected void onRestartLastAppearedTask() {
        // Finish the controller here, since we won't get onTaskAppeared() for a task that already
        // appeared.
        if (mRecentsAnimationController != null) {
            mRecentsAnimationController.finish(false, null);
        }
    }

    /**
     * Runs the given {@param action} if the recents animation has already started, or queues it to