mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Make ReactCxxErrorHandler internal (#53024)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/53024 This class is Legacy Arch and is not used in OSS. Let's make it internal. Changelog: [Internal] [Changed] - Reviewed By: RSNara Differential Revision: D79556615 fbshipit-source-id: d157fe8f04784038d64657c6d240b0c51e41d82d
This commit is contained in:
committed by
Facebook GitHub Bot
parent
dd7ab0f833
commit
ea1aff455a
@@ -1140,11 +1140,6 @@ public abstract class com/facebook/react/bridge/ReactContextBaseJavaModule : com
|
||||
protected final fun getCurrentActivity ()Landroid/app/Activity;
|
||||
}
|
||||
|
||||
public final class com/facebook/react/bridge/ReactCxxErrorHandler {
|
||||
public static final field INSTANCE Lcom/facebook/react/bridge/ReactCxxErrorHandler;
|
||||
public static final fun setHandleErrorFunc (Ljava/lang/Object;Ljava/lang/reflect/Method;)V
|
||||
}
|
||||
|
||||
public final class com/facebook/react/bridge/ReactMarker {
|
||||
public static final field INSTANCE Lcom/facebook/react/bridge/ReactMarker;
|
||||
public static final fun addFabricListener (Lcom/facebook/react/bridge/ReactMarker$FabricMarkerListener;)V
|
||||
|
||||
+2
-2
@@ -16,7 +16,7 @@ import java.lang.reflect.Method
|
||||
|
||||
@DoNotStrip
|
||||
@LegacyArchitecture
|
||||
public object ReactCxxErrorHandler {
|
||||
internal object ReactCxxErrorHandler {
|
||||
init {
|
||||
LegacyArchitectureLogger.assertLegacyArchitecture(
|
||||
"ReactCxxErrorHandler", LegacyArchitectureLogLevel.WARNING)
|
||||
@@ -27,7 +27,7 @@ public object ReactCxxErrorHandler {
|
||||
|
||||
@DoNotStrip
|
||||
@JvmStatic
|
||||
public fun setHandleErrorFunc(handlerObject: Any?, handleErrorFunc: Method?) {
|
||||
fun setHandleErrorFunc(handlerObject: Any?, handleErrorFunc: Method?) {
|
||||
this.handlerObject = handlerObject
|
||||
this.handleErrorFunc = handleErrorFunc
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user