Fix launcher animation component not playing if springs are enabled
Change-Id: I9fe919034f41bb9db3e1acdfd8e87a31c4cf7865
This commit is contained in:
1 parent
e743c80a14
commit
51745853cb
2 files changed
+2
-4
No files matched your search
@@ -149,9 +149,8 @@ public class LongSwipeHelper {
|
||||
|
||||
if (QUICKSTEP_SPRINGS.get()) {
|
||||
mAnimator.dispatchOnStartWithVelocity(endProgress, velocityPxPerMs);
|
||||
} else {
|
||||
animator.start();
|
||||
}
|
||||
animator.start();
|
||||
}
|
||||
|
||||
private void onSwipeAnimationComplete(boolean toAllApps, boolean isFling, Runnable callback) {
|
||||
|
||||
@@ -1102,9 +1102,8 @@ public class WindowTransformSwipeHandler<T extends BaseDraggingActivity> {
|
||||
|
||||
if (QUICKSTEP_SPRINGS.get()) {
|
||||
mLauncherTransitionController.dispatchOnStartWithVelocity(end, velocityPxPerMs);
|
||||
} else {
|
||||
mLauncherTransitionController.getAnimationPlayer().start();
|
||||
}
|
||||
mLauncherTransitionController.getAnimationPlayer().start();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user