Warn instead of crash if setColorFilter is used.
This causes reusing LottieAnimationView with non-Lottie drawables
to crash pre-Lollipop
Fixes
@@ -232,7 +232,7 @@ import java.util.Set;
}
@Override public void setColorFilter(@Nullable ColorFilter colorFilter) {
- throw new UnsupportedOperationException("Use addColorFilter instead.");
+ Log.w(L.TAG, "Use addColorFilter instead.");
}
/**
