Merge "Avoid skipping animated status bar icon frames." into klp-dev

This commit is contained in:
John Spurlock
2013-11-15 01:11:51 +00:00
committed by Android (Google) Code Review

View File

@@ -38,7 +38,7 @@ public class AnimatedImageView extends ImageView {
} }
private void updateAnim() { private void updateAnim() {
Drawable drawable = getDrawable(); Drawable drawable = mAttached ? getDrawable() : null;
if (mAttached && mAnim != null) { if (mAttached && mAnim != null) {
mAnim.stop(); mAnim.stop();
} }