summaryrefslogtreecommitdiffstats
path: root/quickstep/src/com/android/quickstep/OverviewCommandHelper.java
diff options
context:
space:
mode:
Diffstat (limited to 'quickstep/src/com/android/quickstep/OverviewCommandHelper.java')
-rw-r--r--quickstep/src/com/android/quickstep/OverviewCommandHelper.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/quickstep/src/com/android/quickstep/OverviewCommandHelper.java b/quickstep/src/com/android/quickstep/OverviewCommandHelper.java
index 7094a53db..5d4d2c8f3 100644
--- a/quickstep/src/com/android/quickstep/OverviewCommandHelper.java
+++ b/quickstep/src/com/android/quickstep/OverviewCommandHelper.java
@@ -285,7 +285,7 @@ public class OverviewCommandHelper {
}
mActivity = activity;
mRecentsView = mActivity.getOverviewPanel();
- mRecentsView.setRunningTaskIconScaledDown(true /* isScaledDown */, false /* animate */);
+ mRecentsView.setRunningTaskIconScaledDown(true);
if (!mUserEventLogged) {
activity.getUserEventDispatcher().logActionCommand(Action.Command.RECENTS_BUTTON,
mHelper.getContainerType(), ContainerType.TASKSWITCHER);
@@ -308,8 +308,7 @@ public class OverviewCommandHelper {
@Override
public void onAnimationSuccess(Animator animator) {
if (mRecentsView != null) {
- mRecentsView.setRunningTaskIconScaledDown(false /* isScaledDown */,
- true /* animate */);
+ mRecentsView.animateUpRunningTaskIconScale();
}
}
});