Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f99417f8 authored by Android Build Merger (Role)'s avatar Android Build Merger (Role)
Browse files

[automerger] Reset state amanger, when switching from state animation to task...

[automerger] Reset state amanger, when switching from state animation to task launch animation am: 0cd2a254

Change-Id: Ide18fd680c598701a8521e5fca1fecb0efd5f3a2
parents 4600bfca 0cd2a254
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -143,6 +143,8 @@ public class PortraitStatesTouchController extends AbstractStateChangeTouchContr
        TaskView taskView = (TaskView) recentsView.getChildAt(recentsView.getNextPage());
        if (recentsView.shouldSwipeDownLaunchApp() && mFromState == OVERVIEW && mToState == NORMAL
                && taskView != null) {
            // Reset the state manager, when changing the interaction mode
            mLauncher.getStateManager().goToState(OVERVIEW, false /* animate */);
            mPendingAnimation = recentsView.createTaskLauncherAnimation(taskView, maxAccuracy);
            mPendingAnimation.anim.setInterpolator(Interpolators.ZOOM_IN);