diff --git a/quickstep/src/com/android/quickstep/OverviewCommandHelper.java b/quickstep/src/com/android/quickstep/OverviewCommandHelper.java index 1a9915c414..d9626c4bdf 100644 --- a/quickstep/src/com/android/quickstep/OverviewCommandHelper.java +++ b/quickstep/src/com/android/quickstep/OverviewCommandHelper.java @@ -280,7 +280,6 @@ public class OverviewCommandHelper { factory.createActivityController(RECENTS_LAUNCH_DURATION, INTERACTION_NORMAL); mActivity = activity; mRecentsView = mActivity.getOverviewPanel(); - mRecentsView.setRunningTaskIconScaledDown(true); if (!mUserEventLogged) { activity.getUserEventDispatcher().logActionCommand(Action.Command.RECENTS_BUTTON, mHelper.getContainerType(), ContainerType.TASKSWITCHER); @@ -298,6 +297,9 @@ public class OverviewCommandHelper { if (mListener != null) { mListener.unregister(); } + if (mRecentsView != null) { + mRecentsView.setRunningTaskIconScaledDown(true); + } AnimatorSet anim = new AnimatorSet(); anim.addListener(new AnimationSuccessListener() { @Override