From 7c7cb8ff79a206c4f5ba0884573f8f0159fcf6aa Mon Sep 17 00:00:00 2001 From: generatedunixname89002005287564 Date: Wed, 27 Nov 2024 10:29:19 -0800 Subject: [PATCH] fbandroid/libraries/fresco/animated-gif-lite/src/main/java/com/facebook/animated/giflite/drawable/GifAnimationBackend.java Reviewed By: oprisnik Differential Revision: D66544365 fbshipit-source-id: 7f6c46c99afe060ceca0ae71ff8412e41461d28c --- .../facebook/animated/giflite/drawable/GifAnimationBackend.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/animated-gif-lite/src/main/java/com/facebook/animated/giflite/drawable/GifAnimationBackend.java b/animated-gif-lite/src/main/java/com/facebook/animated/giflite/drawable/GifAnimationBackend.java index 2ebf865b5e..aec0fd55e7 100644 --- a/animated-gif-lite/src/main/java/com/facebook/animated/giflite/drawable/GifAnimationBackend.java +++ b/animated-gif-lite/src/main/java/com/facebook/animated/giflite/drawable/GifAnimationBackend.java @@ -14,6 +14,7 @@ import android.graphics.drawable.Drawable; import com.facebook.animated.giflite.decoder.GifMetadataDecoder; import com.facebook.fresco.animation.backend.AnimationBackend; +import com.facebook.infer.annotation.Nullsafe; import java.io.BufferedInputStream; import java.io.Closeable; import java.io.FileInputStream; @@ -21,6 +22,7 @@ import java.io.InputStream; import javax.annotation.Nullable; +@Nullsafe(Nullsafe.Mode.LOCAL) public class GifAnimationBackend implements AnimationBackend { private final GifMetadataDecoder mGifDecoder;