Merge changes from topic "am-125d8586-dd81-455b-b3e8-107829f04796" into ub-launcher3-master
* changes: [automerger] Set mState = mCurrentStableState in onAnimationCancel am:8935d9515cam:556a97d9d6[automerger] Set mState = mCurrentStableState in onAnimationCancel am:8935d9515cSet mState = mCurrentStableState in onAnimationCancel
This commit is contained in:
@@ -347,6 +347,12 @@ public class LauncherStateManager {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onAnimationCancel(Animator animation) {
|
||||
super.onAnimationCancel(animation);
|
||||
mState = mCurrentStableState;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onAnimationSuccess(Animator animator) {
|
||||
// Run any queued runnables
|
||||
@@ -432,7 +438,6 @@ public class LauncherStateManager {
|
||||
}
|
||||
|
||||
public void setCurrentUserControlledAnimation(AnimatorPlaybackController controller) {
|
||||
clearCurrentAnimation();
|
||||
setCurrentAnimation(controller.getTarget());
|
||||
mConfig.userControlled = true;
|
||||
mConfig.playbackController = controller;
|
||||
|
||||
Reference in New Issue
Block a user