summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Spurlock <jspurlock@google.com>2013-11-15 01:11:51 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-11-15 01:11:52 +0000
commit68837c4eca7705cd32e3de2e7cdcd24c72ecaea7 (patch)
treef4dd4fcd405f4607f50b4e7feec7e5ae2c36776c
parent90fa53318d4984dbebfa7964ae1f79f51a130932 (diff)
parent327276440f86fc9dec5c72b687b77c58d15473f1 (diff)
downloadbase-68837c4eca7705cd32e3de2e7cdcd24c72ecaea7.tar.gz
Merge "Avoid skipping animated status bar icon frames." into klp-dev
-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();
}