Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ internal class CoreModulesPackage(
private val hardwareBackBtnHandler: DefaultHardwareBackBtnHandler,
private val lazyViewManagersEnabled: Boolean,
private val minTimeLeftInFrameForNonBatchedOperationMs: Int,
) : BaseReactPackage(), ReactPackageLogger {
) : BaseReactPackage() {
/**
* This method is overridden, since OSS does not run the annotation processor to generate
* [CoreModulesPackage.ReactModuleInfoProvider] class. Here we check if it exists with the method
Expand Down Expand Up @@ -196,14 +196,6 @@ internal class CoreModulesPackage(
}
}

override fun startProcessPackage() {
ReactMarker.logMarker(ReactMarkerConstants.PROCESS_CORE_REACT_PACKAGE_START)
}

override fun endProcessPackage() {
ReactMarker.logMarker(ReactMarkerConstants.PROCESS_CORE_REACT_PACKAGE_END)
}

private companion object {
init {
LegacyArchitectureLogger.assertLegacyArchitecture(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1570,14 +1570,7 @@ private void processPackage(
SystraceMessage.beginSection(TRACE_TAG_REACT, "processPackage")
.arg("className", reactPackage.getClass().getSimpleName())
.flush();
if (reactPackage instanceof ReactPackageLogger) {
((ReactPackageLogger) reactPackage).startProcessPackage();
}
nativeModuleRegistryBuilder.processPackage(reactPackage);

if (reactPackage instanceof ReactPackageLogger) {
((ReactPackageLogger) reactPackage).endProcessPackage();
}
SystraceMessage.endSection(TRACE_TAG_REACT).flush();
}

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ internal class BridgelessReactContext(context: Context, private val reactHost: R
override fun getFabricUIManager(): UIManager? = reactHost.uiManager

@OptIn(FrameworkAPI::class)
@Deprecated(
"This method is deprecated in the New Architecture. You should not be invoking directly as we're going to remove it in the future."
)
override fun getCatalystInstance(): CatalystInstance {
if (ReactBuildConfig.UNSTABLE_ENABLE_MINIFY_LEGACY_ARCHITECTURE) {
throw UnsupportedOperationException(
Expand Down
Loading