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

Commit 34461ba3 authored by Tony Wickham's avatar Tony Wickham Committed by Android (Google) Code Review
Browse files

Merge "Don't moveToRestState from onTaskAppeared" into tm-qpr-dev

parents 178a45a5 017bbc09
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -2063,7 +2063,6 @@ public abstract class AbsSwipeUpHandler<T extends StatefulActivity<S>,
            if (handleTaskAppeared(appearedTaskTargets)) {
                mRecentsAnimationController.finish(false /* toRecents */,
                        null /* onFinishComplete */);
                mActivityInterface.onLaunchTaskSuccess();
                ActiveGestureLog.INSTANCE.addLog(
                        /* event= */ "finishRecentsAnimation",
                        /* extras= */ false,
+0 −8
Original line number Diff line number Diff line
@@ -183,14 +183,6 @@ public abstract class BaseActivityInterface<STATE_TYPE extends BaseState<STATE_T

    public abstract void onLaunchTaskFailed();

    public void onLaunchTaskSuccess() {
        ACTIVITY_TYPE activity = getCreatedActivity();
        if (activity == null) {
            return;
        }
        activity.getStateManager().moveToRestState();
    }

    /**
     * Closes any overlays.
     */