Suppress lint warning in ShapeLayer#draw
package com.airbnb.lottie;
+import android.annotation.SuppressLint;
import android.graphics.Canvas;
import android.graphics.ColorFilter;
import android.graphics.DashPathEffect;
@@ -162,6 +163,7 @@ class ShapeLayer extends AnimatableLayer {
invalidateSelf();
}
+ @SuppressLint("NewApi")
@Override
public void draw(@NonNull Canvas canvas) {
if (pathPropertiesChanged) {
