diff --git a/java/com/facebook/soloader/SoLoader.java b/java/com/facebook/soloader/SoLoader.java index 9e7c35c..deb5c52 100644 --- a/java/com/facebook/soloader/SoLoader.java +++ b/java/com/facebook/soloader/SoLoader.java @@ -344,7 +344,7 @@ private static boolean initEnableConfig(Context context) { return (null == metaData || metaData.getBoolean(name, true)); } - private static void initSoSources(Context context, int flags) throws IOException { + private static void initSoSources(@Nullable Context context, int flags) throws IOException { if (sSoSources != null) { return; } @@ -580,7 +580,7 @@ private static synchronized void initSoLoader( sSoFileLoader = new InstrumentedSoFileLoader(new SoFileLoaderImpl()); } - private static int getAppType(Context context) { + private static int getAppType(@Nullable Context context) { if (sAppType != AppType.UNSET) { return sAppType; }