diff --git a/lottie/src/main/java/com/airbnb/lottie/animation/keyframe/BaseKeyframeAnimation.java b/lottie/src/main/java/com/airbnb/lottie/animation/keyframe/BaseKeyframeAnimation.java index 083a2439a6..cb63438708 100644 --- a/lottie/src/main/java/com/airbnb/lottie/animation/keyframe/BaseKeyframeAnimation.java +++ b/lottie/src/main/java/com/airbnb/lottie/animation/keyframe/BaseKeyframeAnimation.java @@ -128,7 +128,8 @@ protected float getInterpolatedCurrentKeyframeProgress() { Keyframe keyframe = getCurrentKeyframe(); // Keyframe should not be null here but there seems to be a Xiaomi Android 10 specific crash. // https://github.com/airbnb/lottie-android/issues/2050 - if (keyframe == null || keyframe.isStatic()) { + // https://github.com/airbnb/lottie-android/issues/2483 + if (keyframe == null || keyframe.isStatic() || keyframe.interpolator == null) { return 0f; } //noinspection ConstantConditions