add missing to //libraries/fbcore/src/main/java/com/facebook/common/webp:webp
@@ -13,6 +13,7 @@ import android.graphics.BitmapFactory;
import android.os.Build;
import android.util.Base64;
import java.io.UnsupportedEncodingException;
+import javax.annotation.Nullable;
public class WebpSupportStatus {
public static final boolean sIsWebpSupportRequired =
@@ -23,11 +24,11 @@ public class WebpSupportStatus {
public static final boolean sIsExtendedWebpSupported = isExtendedWebpSupported();
- public static WebpBitmapFactory sWebpBitmapFactory = null;
+ public static @Nullable WebpBitmapFactory sWebpBitmapFactory = null;
private static boolean sWebpLibraryChecked = false;
- public static WebpBitmapFactory loadWebpBitmapFactoryIfExists() {
+ public static @Nullable WebpBitmapFactory loadWebpBitmapFactoryIfExists() {
if (sWebpLibraryChecked) {
return sWebpBitmapFactory;
}
