Merge "Don't animate the workspace background alpha during recents anim" into ub-launcher3-master

This commit is contained in:
TreeHugger Robot
2018-02-27 22:09:42 +00:00
committed by Android (Google) Code Review

View File

@@ -16,7 +16,6 @@
package com.android.launcher3;
import static com.android.launcher3.LauncherAnimUtils.DRAWABLE_ALPHA;
import static com.android.launcher3.allapps.AllAppsTransitionController.ALL_APPS_PROGRESS;
import static com.android.systemui.shared.recents.utilities.Utilities.getNextFrameNumber;
import static com.android.systemui.shared.recents.utilities.Utilities.getSurface;
@@ -325,9 +324,6 @@ public class LauncherAppTransitionManagerImpl extends LauncherAppTransitionManag
launcherAnimator.play(recenterWorkspace);
CellLayout currentWorkspacePage = (CellLayout) workspace.getPageAt(
workspace.getCurrentPage());
Animator hideWorkspaceScrim = ObjectAnimator.ofInt(
currentWorkspacePage.getScrimBackground(), DRAWABLE_ALPHA, 0);
launcherAnimator.play(hideWorkspaceScrim);
launcherAnimator.setInterpolator(Interpolators.TOUCH_RESPONSE_INTERPOLATOR);
launcherAnimator.setDuration(RECENTS_LAUNCH_DURATION);