summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author John Spurlock <jspurlock@google.com> 2013-11-14 17:20:03 -0800
committer Android Git Automerger <android-git-automerger@android.com> 2013-11-14 17:20:03 -0800
commitab53cbea9e2583300a91fe4eeb5a28a3323c8b9d (patch)
tree69f3fe3d7445c12ad2b3e433ff3934cefc19301a
parent6f5d85377be86f6d2856470788471bdda5832366 (diff)
parentcaf21486dfbc4ca67254652f16448493c5f4e06c (diff)
am caf21486: am 68837c4e: Merge "Avoid skipping animated status bar icon frames." into klp-dev
* commit 'caf21486dfbc4ca67254652f16448493c5f4e06c': Avoid skipping animated status bar icon frames.
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/AnimatedImageView.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/AnimatedImageView.java b/packages/SystemUI/src/com/android/systemui/statusbar/AnimatedImageView.java
index 9839fe9e6f4d..7d3e870c1a8f 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/AnimatedImageView.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/AnimatedImageView.java
@@ -38,7 +38,7 @@ public class AnimatedImageView extends ImageView {
}
private void updateAnim() {
- Drawable drawable = getDrawable();
+ Drawable drawable = mAttached ? getDrawable() : null;
if (mAttached && mAnim != null) {
mAnim.stop();
}