am 0c348b6d: Merge "end() a reverse()\'d animation correctly" into jb-mr1-dev

* commit '0c348b6dd734e1d10d3b51ea95f60900789f0310':
  end() a reverse()'d animation correctly
This commit is contained in:
Chet Haase
2012-09-12 17:32:47 -07:00
committed by Android Git Automerger

View File

@@ -958,13 +958,7 @@ public class ValueAnimator extends Animator {
} else if (!mInitialized) {
initAnimation();
}
// The final value set on the target varies, depending on whether the animation
// was supposed to repeat an odd number of times
if (mRepeatCount > 0 && (mRepeatCount & 0x01) == 1) {
animateValue(0f);
} else {
animateValue(1f);
}
animateValue(mPlayingBackwards ? 0f : 1f);
endAnimation(handler);
}