Merge "Remove workaround for end() not supported in some app" into oc-dev

This commit is contained in:
TreeHugger Robot
2017-04-03 21:41:12 +00:00
committed by Android (Google) Code Review

View File

@@ -431,12 +431,10 @@ public final class AnimatorSet extends Animator implements AnimationHandler.Anim
// Force all the animations to end when the duration scale is 0. // Force all the animations to end when the duration scale is 0.
private void forceToEnd() { private void forceToEnd() {
// TODO: Below is commented out to temp work around b/36241584, uncomment this when it's if (mEndCanBeCalled) {
// fixed. end();
// if (mEndCanBeCalled) { return;
// end(); }
// return;
// }
// Note: we don't want to combine this case with the end() method below because in // Note: we don't want to combine this case with the end() method below because in
// the case of developer calling end(), we still need to make sure end() is explicitly // the case of developer calling end(), we still need to make sure end() is explicitly