diff --git a/quickstep/src/com/android/quickstep/ActivityControlHelper.java b/quickstep/src/com/android/quickstep/ActivityControlHelper.java index 0ea729f280..52db0017b8 100644 --- a/quickstep/src/com/android/quickstep/ActivityControlHelper.java +++ b/quickstep/src/com/android/quickstep/ActivityControlHelper.java @@ -213,9 +213,8 @@ public interface ActivityControlHelper { anim.play(shiftAnim); } - // TODO: Link this animation to state animation, so that it is cancelled - // automatically on state change anim.setDuration(transitionLength * 2); + activity.getStateManager().setCurrentAnimation(anim); return AnimatorPlaybackController.wrap(anim, transitionLength * 2); }