diff --git a/ReactAndroid/src/main/java/com/facebook/react/bridge/ReactContextBaseJavaModule.java b/ReactAndroid/src/main/java/com/facebook/react/bridge/ReactContextBaseJavaModule.java index ea6d366f9fe646..00bf2fb6ff3d3e 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/bridge/ReactContextBaseJavaModule.java +++ b/ReactAndroid/src/main/java/com/facebook/react/bridge/ReactContextBaseJavaModule.java @@ -10,7 +10,6 @@ import static com.facebook.infer.annotation.ThreadConfined.ANY; import android.app.Activity; -import androidx.annotation.NonNull; import androidx.annotation.Nullable; import com.facebook.common.logging.FLog; import com.facebook.infer.annotation.Assertions; @@ -28,7 +27,7 @@ public ReactContextBaseJavaModule() { mReactApplicationContext = null; } - public ReactContextBaseJavaModule(@NonNull ReactApplicationContext reactContext) { + public ReactContextBaseJavaModule(@Nullable ReactApplicationContext reactContext) { mReactApplicationContext = reactContext; }