Merge "Don't moveToRestState from onTaskAppeared" into tm-qpr-dev
This commit is contained in:
@@ -2063,7 +2063,6 @@ public abstract class AbsSwipeUpHandler<T extends StatefulActivity<S>,
|
|||||||
if (handleTaskAppeared(appearedTaskTargets)) {
|
if (handleTaskAppeared(appearedTaskTargets)) {
|
||||||
mRecentsAnimationController.finish(false /* toRecents */,
|
mRecentsAnimationController.finish(false /* toRecents */,
|
||||||
null /* onFinishComplete */);
|
null /* onFinishComplete */);
|
||||||
mActivityInterface.onLaunchTaskSuccess();
|
|
||||||
ActiveGestureLog.INSTANCE.addLog(
|
ActiveGestureLog.INSTANCE.addLog(
|
||||||
/* event= */ "finishRecentsAnimation",
|
/* event= */ "finishRecentsAnimation",
|
||||||
/* extras= */ false,
|
/* extras= */ false,
|
||||||
|
|||||||
@@ -183,14 +183,6 @@ public abstract class BaseActivityInterface<STATE_TYPE extends BaseState<STATE_T
|
|||||||
|
|
||||||
public abstract void onLaunchTaskFailed();
|
public abstract void onLaunchTaskFailed();
|
||||||
|
|
||||||
public void onLaunchTaskSuccess() {
|
|
||||||
ACTIVITY_TYPE activity = getCreatedActivity();
|
|
||||||
if (activity == null) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
activity.getStateManager().moveToRestState();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Closes any overlays.
|
* Closes any overlays.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user