summaryrefslogtreecommitdiffstats
path: root/core/java/android/animation
diff options
context:
space:
mode:
authorztenghui <ztenghui@google.com>2015-04-21 13:00:08 -0700
committerztenghui <ztenghui@google.com>2015-04-21 13:00:09 -0700
commitb1e80d826b860203cc966d56584f9d83f5636bc0 (patch)
treee7f3feccc864ad0f2e9ba919d7b31c5de9fb0997 /core/java/android/animation
parent041a9e5770ad53f9a5c299b9b788860ad9bcabf3 (diff)
downloadframeworks_base-b1e80d826b860203cc966d56584f9d83f5636bc0.zip
frameworks_base-b1e80d826b860203cc966d56584f9d83f5636bc0.tar.gz
frameworks_base-b1e80d826b860203cc966d56584f9d83f5636bc0.tar.bz2
Reset the Node status when clone.
b/20457797 Change-Id: I5f1b0e2238fdc4a69a9c09c1e6e0272f7ede3685
Diffstat (limited to 'core/java/android/animation')
-rw-r--r--core/java/android/animation/AnimatorSet.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/java/android/animation/AnimatorSet.java b/core/java/android/animation/AnimatorSet.java
index 53d5237..6503d89 100644
--- a/core/java/android/animation/AnimatorSet.java
+++ b/core/java/android/animation/AnimatorSet.java
@@ -1094,7 +1094,8 @@ public final class AnimatorSet extends Animator {
public Node clone() {
try {
Node node = (Node) super.clone();
- node.animation = (Animator) animation.clone();
+ node.animation = animation.clone();
+ node.done = false;
return node;
} catch (CloneNotSupportedException e) {
throw new AssertionError();