commit | 51745853cb5eaf7c44c08061e7e8de4d4345ac7e | [log] [tgz] |
---|---|---|
author | Tony <twickham@google.com> | Tue Feb 05 14:31:31 2019 -0500 |
committer | Tony <twickham@google.com> | Tue Feb 05 15:03:32 2019 -0500 |
tree | bef1094f77b8a66a926e1f101c4d26cbd92ea1a1 | |
parent | e743c80a1412f8c959a5ec2d174c6eda232eda2f [diff] |
Fix launcher animation component not playing if springs are enabled Change-Id: I9fe919034f41bb9db3e1acdfd8e87a31c4cf7865
diff --git a/quickstep/src/com/android/quickstep/LongSwipeHelper.java b/quickstep/src/com/android/quickstep/LongSwipeHelper.java index 88dc520..ef56cb0 100644 --- a/quickstep/src/com/android/quickstep/LongSwipeHelper.java +++ b/quickstep/src/com/android/quickstep/LongSwipeHelper.java
@@ -149,9 +149,8 @@ if (QUICKSTEP_SPRINGS.get()) { mAnimator.dispatchOnStartWithVelocity(endProgress, velocityPxPerMs); - } else { - animator.start(); } + animator.start(); } private void onSwipeAnimationComplete(boolean toAllApps, boolean isFling, Runnable callback) {
diff --git a/quickstep/src/com/android/quickstep/WindowTransformSwipeHandler.java b/quickstep/src/com/android/quickstep/WindowTransformSwipeHandler.java index c1417dd..c60752a 100644 --- a/quickstep/src/com/android/quickstep/WindowTransformSwipeHandler.java +++ b/quickstep/src/com/android/quickstep/WindowTransformSwipeHandler.java
@@ -1102,9 +1102,8 @@ if (QUICKSTEP_SPRINGS.get()) { mLauncherTransitionController.dispatchOnStartWithVelocity(end, velocityPxPerMs); - } else { - mLauncherTransitionController.getAnimationPlayer().start(); } + mLauncherTransitionController.getAnimationPlayer().start(); } }); }