Merge "Avoid skipping animated status bar icon frames." into klp-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
68837c4eca
@@ -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();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user