DO NOT MERGE: Reset the Node status when clone.

b/20457797

Change-Id: I5f1b0e2238fdc4a69a9c09c1e6e0272f7ede3685
This commit is contained in:
ztenghui
2015-04-21 13:00:08 -07:00
committed by Joe LaPenna
parent 2fdd83a97a
commit 2360659824

View File

@@ -1082,7 +1082,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();