am caf21486: am 68837c4e: Merge "Avoid skipping animated status bar icon frames." into klp-dev

* commit 'caf21486dfbc4ca67254652f16448493c5f4e06c':
  Avoid skipping animated status bar icon frames.
This commit is contained in:
John Spurlock
2013-11-14 17:20:03 -08:00
committed by Android Git Automerger

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