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

This commit is contained in:
Tony Wickham
2022-09-24 06:44:17 +00:00
committed by Android (Google) Code Review
2 changed files with 0 additions and 9 deletions

View File

@@ -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,

View File

@@ -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.
*/