From f27d2a592cbbc98a8c209a7e72323e9c4135f464 Mon Sep 17 00:00:00 2001 From: Arushi Kesarwani Date: Wed, 15 Nov 2023 01:50:45 -0800 Subject: [PATCH] Fix ReactInstanceManager for getting rid of getJSIModule() Summary: Fix ReactInstanceManager for getting rid of `getJSIModule()` in order to make Catalyst and RN-Tester work with the changes for Fabric initialization Differential Revision: D51338036 --- .../src/main/java/com/facebook/react/ReactInstanceManager.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/ReactInstanceManager.java b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/ReactInstanceManager.java index caad54549ac6d5..7f9966fc8ddce6 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/ReactInstanceManager.java +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/ReactInstanceManager.java @@ -56,7 +56,6 @@ import com.facebook.react.bridge.JSBundleLoader; import com.facebook.react.bridge.JSExceptionHandler; import com.facebook.react.bridge.JSIModulePackage; -import com.facebook.react.bridge.JSIModuleType; import com.facebook.react.bridge.JavaJSExecutor; import com.facebook.react.bridge.JavaScriptExecutor; import com.facebook.react.bridge.JavaScriptExecutorFactory; @@ -1407,7 +1406,6 @@ private ReactApplicationContext createReactContext( reactContext, catalystInstance.getJavaScriptContextHolder())); } if (ReactFeatureFlags.enableFabricRenderer) { - catalystInstance.getJSIModule(JSIModuleType.UIManager); if (mUIManagerProvider != null) { catalystInstance.setFabricUIManager(mUIManagerProvider.createUIManager(reactContext)); }