Merge "Canceling ViewPropertyAnimator now removes pending actions" into lmp-dev

This commit is contained in:
Chet Haase
2014-08-28 16:42:26 +00:00
committed by Android (Google) Code Review

View File

@@ -430,6 +430,10 @@ public class ViewPropertyAnimator {
}
}
mPendingAnimations.clear();
mPendingSetupAction = null;
mPendingCleanupAction = null;
mPendingOnStartAction = null;
mPendingOnEndAction = null;
mView.removeCallbacks(mAnimationStarter);
if (mRTBackend != null) {
mRTBackend.cancelAll();