From 35490bb847229cf3bab1fa6934962b3440979386 Mon Sep 17 00:00:00 2001 From: Selim Cinek Date: Thu, 13 Jul 2017 17:27:20 +0200 Subject: [PATCH] Fixed a bug where status icons were not animating Initializing should be done to true Test: manual, add animating notification, observe statusbar Change-Id: I53c7667184b1e9e0d065816982236b9a7b919b6f Fixes: 63533925 --- .../src/com/android/systemui/statusbar/AnimatedImageView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/AnimatedImageView.java b/packages/SystemUI/src/com/android/systemui/statusbar/AnimatedImageView.java index e5aad03360613..ba92c451f764f 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/AnimatedImageView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/AnimatedImageView.java @@ -32,7 +32,7 @@ public class AnimatedImageView extends ImageView { private final boolean mHasOverlappingRendering; AnimationDrawable mAnim; boolean mAttached; - private boolean mAllowAnimation; + private boolean mAllowAnimation = true; // Tracks the last image that was set, so that we don't refresh the image if it is exactly // the same as the previous one. If this is a resid, we track that. If it's a drawable, we