From 4f6a74438d38f2a82dc674b3d3c3bfac2a1e845c Mon Sep 17 00:00:00 2001 From: David Vacca Date: Mon, 9 Oct 2023 15:00:18 -0700 Subject: [PATCH] Reduce visibility of NoSuchNativeViewException Summary: 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. bypass-github-export-checks changelog: [Android][Changed] Reducing visibility of NoSuchNativeViewException Reviewed By: arushikesarwani94 Differential Revision: D49803297 fbshipit-source-id: d2c3e6a2243f6c80db0658c81c44c2d2bbedab5b --- .../com/facebook/react/uimanager/NoSuchNativeViewException.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/NoSuchNativeViewException.java b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/NoSuchNativeViewException.java index 6dfdf53601d603..02c6fe31efee2a 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/NoSuchNativeViewException.java +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/NoSuchNativeViewException.java @@ -11,7 +11,7 @@ * Exception thrown when a class tries to access a native view by a tag that has no native view * associated with it. */ -public class NoSuchNativeViewException extends IllegalViewOperationException { +class NoSuchNativeViewException extends IllegalViewOperationException { public NoSuchNativeViewException(String detailMessage) { super(detailMessage);