Skip to content

Commit a6964b3

Browse files
Fix ReactNativeHost to have default UIManagerProvider as null (facebook#41593)
Summary: Pull Request resolved: facebook#41593 Fixing fallback to `getJSIModule()` by defaulting `getUIManagerProvider()` correctly to null Reviewed By: christophpurrer Differential Revision: D51500901 fbshipit-source-id: 91b692e6c88d736970b652179e14bc524a411d0e
1 parent ac1cdaa commit a6964b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-native/ReactAndroid/src/main/java/com/facebook/react/ReactNativeHost.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ protected final Application getApplication() {
132132
}
133133

134134
protected @Nullable UIManagerProvider getUIManagerProvider() {
135-
return reactApplicationContext -> null;
135+
return null;
136136
}
137137

138138
/** Returns whether or not to treat it as normal if Activity is null. */

0 commit comments

Comments
 (0)