summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Chet Haase <chet@google.com> 2014-08-28 16:42:26 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2014-08-28 16:42:27 +0000
commit06c34e7cbed0640ec537f725a8a6652d929e322d (patch)
treeb9fd673737f2fecb029f7fda6111bf379cb8c347
parent2836dbb9536263a8d4e33a751fb41efc5a58186e (diff)
parent5637b7d2396636886688cf67ba1446882cc5fbfb (diff)
Merge "Canceling ViewPropertyAnimator now removes pending actions" into lmp-dev
-rw-r--r--core/java/android/view/ViewPropertyAnimator.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/java/android/view/ViewPropertyAnimator.java b/core/java/android/view/ViewPropertyAnimator.java
index bae0cfbfc242..b73b9fa07933 100644
--- a/core/java/android/view/ViewPropertyAnimator.java
+++ b/core/java/android/view/ViewPropertyAnimator.java
@@ -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();