Revert "Set mState = mCurrentStableState in onAnimationCancel"
This reverts commit 8935d9515c.
Reason for revert:
Bug: 109814458
Bug: 79935289
Change-Id: I33e4933a68060b6055ad7af8e45cffceec14880d
This commit is contained in:
1 parent
8935d9515c
commit
d6692cedff
1 file changed
+1
-6
@@ -347,12 +347,6 @@ public class LauncherStateManager {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public void onAnimationCancel(Animator animation) {
|
|
||||||
super.onAnimationCancel(animation);
|
|
||||||
mState = mCurrentStableState;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onAnimationSuccess(Animator animator) {
|
public void onAnimationSuccess(Animator animator) {
|
||||||
// Run any queued runnables
|
// Run any queued runnables
|
||||||
@@ -438,6 +432,7 @@ public class LauncherStateManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void setCurrentUserControlledAnimation(AnimatorPlaybackController controller) {
|
public void setCurrentUserControlledAnimation(AnimatorPlaybackController controller) {
|
||||||
|
clearCurrentAnimation();
|
||||||
setCurrentAnimation(controller.getTarget());
|
setCurrentAnimation(controller.getTarget());
|
||||||
mConfig.userControlled = true;
|
mConfig.userControlled = true;
|
||||||
mConfig.playbackController = controller;
|
mConfig.playbackController = controller;
|
||||||
|
|||||||
Reference in new issue
Block a user