commit | b1e80d826b860203cc966d56584f9d83f5636bc0 | [log] [tgz] |
---|---|---|
author | ztenghui <ztenghui@google.com> | Tue Apr 21 13:00:08 2015 -0700 |
committer | ztenghui <ztenghui@google.com> | Tue Apr 21 13:00:09 2015 -0700 |
tree | e7f3feccc864ad0f2e9ba919d7b31c5de9fb0997 | |
parent | 041a9e5770ad53f9a5c299b9b788860ad9bcabf3 [diff] |
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 53d5237..6503d89 100644 --- a/core/java/android/animation/AnimatorSet.java +++ b/core/java/android/animation/AnimatorSet.java
@@ -1094,7 +1094,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();