From e2aae65dd4d6cbe57c1f1dee6c8cc6738a8cddc3 Mon Sep 17 00:00:00 2001 From: David Vacca Date: Mon, 9 Oct 2023 15:00:18 -0700 Subject: [PATCH] Reduce visibility of ShadowNodeRegistry 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 ShadowNodeRegistry Reviewed By: arushikesarwani94 Differential Revision: D49803275 fbshipit-source-id: a2796a1e125f0399418aa56cce6eafe7c0509eeb --- .../java/com/facebook/react/uimanager/ShadowNodeRegistry.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/ShadowNodeRegistry.java b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/ShadowNodeRegistry.java index 3cee1ccda33b03..c14a06d26ed835 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/ShadowNodeRegistry.java +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/ShadowNodeRegistry.java @@ -16,7 +16,7 @@ * Simple container class to keep track of {@link ReactShadowNode}s associated with a particular * UIManagerModule instance. */ -public class ShadowNodeRegistry { +class ShadowNodeRegistry { private final SparseArray mTagsToCSSNodes; private final SparseBooleanArray mRootTags;