Merge "Exclude delay animation from getChildAnimations() list"

This commit is contained in:
Doris Liu
2015-08-06 18:09:08 +00:00
committed by Android (Google) Code Review

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;
}