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
This commit is contained in:
Selim Cinek
2017-07-13 17:27:20 +02:00
parent b02cbdeeb3
commit 35490bb847

View File

@@ -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