Exclude delay animation from getChildAnimations() list

Bug: 22975427
Change-Id: I8bd9a51f0a886873346d77e9452662301a7c0363
This commit is contained in:
Doris Liu
2015-08-05 20:00:11 -07:00
parent 38b4520735
commit dbf69e4652

View File

@@ -228,7 +228,9 @@ public final class AnimatorSet extends Animator {
int size = mNodes.size();
for (int i = 0; i < size; i++) {
Node node = mNodes.get(i);
childList.add(node.mAnimation);
if (node != mRootNode) {
childList.add(node.mAnimation);
}
}
return childList;
}