Merge "Scaling down the icon in same path as scaling up" into ub-launcher3-master

This commit is contained in:
TreeHugger Robot authored and Android (Google) Code Review committed 2018-09-25 23:50:22 +00:00
commit 8e95c9b5e6
1 file changed
+3 -1
@@ -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