commit | 5e66616c04e4a54df7e8783bc7ffe6c22bcb3040 | [log] [tgz] |
---|---|---|
author | Doris Liu <tianliu@google.com> | Mon Aug 03 16:06:56 2015 -0700 |
committer | Doris Liu <tianliu@google.com> | Mon Aug 03 16:06:56 2015 -0700 |
tree | ab8ca0aeb8d9d36c44f2a1b3e0f31540992a94ff | |
parent | 396a48209380f314e9e2813ff14e087b4897be58 [diff] |
Fix clone in AnimatorSet Change-Id: I277d801897b08889c53522affdfc5581953c4f01
diff --git a/core/java/android/animation/AnimatorSet.java b/core/java/android/animation/AnimatorSet.java index 58e370c..5480193 100644 --- a/core/java/android/animation/AnimatorSet.java +++ b/core/java/android/animation/AnimatorSet.java
@@ -1075,6 +1075,12 @@ if (mChildNodes != null) { node.mChildNodes = new ArrayList<>(mChildNodes); } + if (mSiblings != null) { + node.mSiblings = new ArrayList<>(mSiblings); + } + if (mParents != null) { + node.mParents = new ArrayList<>(mParents); + } node.mEnded = false; return node; } catch (CloneNotSupportedException e) {