commit | 23606598244c2a297d994895eaf631b240d33242 | [log] [tgz] |
---|---|---|
author | ztenghui <ztenghui@google.com> | Tue Apr 21 13:00:08 2015 -0700 |
committer | Joe LaPenna <jlapenna@google.com> | Tue Apr 21 20:31:58 2015 +0000 |
tree | 59e78e1c5b0a0afde8febcaa17a6b01337e9dbe1 | |
parent | 2fdd83a97a0dd3de36264928ff42dcc0a098018f [diff] |
DO NOT MERGE: Reset the Node status when clone. b/20457797 Change-Id: I5f1b0e2238fdc4a69a9c09c1e6e0272f7ede3685
diff --git a/core/java/android/animation/AnimatorSet.java b/core/java/android/animation/AnimatorSet.java index 92762c3..5055b29 100644 --- a/core/java/android/animation/AnimatorSet.java +++ b/core/java/android/animation/AnimatorSet.java
@@ -1082,7 +1082,8 @@ 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();