mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Delete references of CppComponentRegistry from the internals of React Native Android renderer
Summary: Delete references of CppComponentRegistry from the internals of React Native Android renderer, since it's not necessary anymore changelog: [internal] internal Reviewed By: javache Differential Revision: D41638890 fbshipit-source-id: c4b08853722874dbb21891817836862225469dd9
This commit is contained in:
1 parent
11b53908a7
commit
4ab125961b
6 files changed
+7
-58
No files matched your search
@@ -44,8 +44,7 @@ public class Binding {
|
||||
Object uiManager,
|
||||
EventBeatManager eventBeatManager,
|
||||
ComponentFactory componentsRegistry,
|
||||
Object reactNativeConfig,
|
||||
CppComponentRegistry cppComponentRegistry);
|
||||
Object reactNativeConfig);
|
||||
|
||||
public native void startSurface(
|
||||
int surfaceId, @NonNull String moduleName, @NonNull NativeMap initialProps);
|
||||
@@ -92,24 +91,6 @@ public class Binding {
|
||||
@NonNull EventBeatManager eventBeatManager,
|
||||
@NonNull ComponentFactory componentFactory,
|
||||
@NonNull ReactNativeConfig reactNativeConfig) {
|
||||
register(
|
||||
runtimeExecutor,
|
||||
runtimeScheduler,
|
||||
fabricUIManager,
|
||||
eventBeatManager,
|
||||
componentFactory,
|
||||
reactNativeConfig,
|
||||
null);
|
||||
}
|
||||
|
||||
public void register(
|
||||
@NonNull RuntimeExecutor runtimeExecutor,
|
||||
@Nullable RuntimeScheduler runtimeScheduler,
|
||||
@NonNull FabricUIManager fabricUIManager,
|
||||
@NonNull EventBeatManager eventBeatManager,
|
||||
@NonNull ComponentFactory componentFactory,
|
||||
@NonNull ReactNativeConfig reactNativeConfig,
|
||||
@Nullable CppComponentRegistry cppComponentRegistry) {
|
||||
fabricUIManager.setBinding(this);
|
||||
installFabricUIManager(
|
||||
runtimeExecutor,
|
||||
@@ -117,8 +98,7 @@ public class Binding {
|
||||
fabricUIManager,
|
||||
eventBeatManager,
|
||||
componentFactory,
|
||||
reactNativeConfig,
|
||||
cppComponentRegistry);
|
||||
reactNativeConfig);
|
||||
|
||||
setPixelDensity(PixelUtil.getDisplayMetricDensity());
|
||||
}
|
||||
|
||||
@@ -61,8 +61,7 @@ public class FabricJSIModuleProvider implements JSIModuleProvider<UIManager> {
|
||||
uiManager,
|
||||
eventBeatManager,
|
||||
mComponentFactory,
|
||||
mConfig,
|
||||
mCppComponentRegistry);
|
||||
mConfig);
|
||||
|
||||
Systrace.endSection(Systrace.TRACE_TAG_REACT_JAVA_BRIDGE);
|
||||
Systrace.endSection(Systrace.TRACE_TAG_REACT_JAVA_BRIDGE);
|
||||
|
||||
Reference in new issue
Block a user