From 970ea5e476738399e06221fe729044e2137e0f8b Mon Sep 17 00:00:00 2001 From: David Vacca Date: Sun, 1 Oct 2023 18:02:16 -0700 Subject: [PATCH] Reduce visibility of NativeArgumentsParseException (#39736) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/39736 In an attempt to reduce footprint of React Native Android public APIs we are reducing visibility of classes and interfaces that are not meant to be used publicly OR are public but have no usages. As part of our analysis, which involved looking for usages inside the Meta codebase and code search in OSS, we've detected that this class/interface is public but it's not used from other packages. If you are using this class or interface please comment in this PR and we will restate the public access. changelog: [Android][Changed] Reducing visibility of NativeArgumentsParseException Reviewed By: RSNara Differential Revision: D49752145 fbshipit-source-id: 0ceb560a9be7d162b6856d90f57f6bda3888c6e7 --- .../facebook/react/bridge/NativeArgumentsParseException.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/bridge/NativeArgumentsParseException.java b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/bridge/NativeArgumentsParseException.java index 47e31156bd1..974fcfc9449 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/bridge/NativeArgumentsParseException.java +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/bridge/NativeArgumentsParseException.java @@ -10,7 +10,7 @@ package com.facebook.react.bridge; import androidx.annotation.Nullable; /** Exception thrown when a native module method call receives unexpected arguments from JS. */ -public class NativeArgumentsParseException extends JSApplicationCausedNativeException { +class NativeArgumentsParseException extends JSApplicationCausedNativeException { public NativeArgumentsParseException(String detailMessage) { super(detailMessage);