From 7a5824b4167c8f56620e5efc89b8c1f1a4cbd96d Mon Sep 17 00:00:00 2001 From: David Vacca Date: Sun, 1 Oct 2023 18:02:16 -0700 Subject: [PATCH] Reduce visibility of DynamicFromMap (#39739) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/39739 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 DynamicFromMap Reviewed By: RSNara Differential Revision: D49752137 fbshipit-source-id: 6bc8623ca1a8479401b4d8314916f968d708f40c --- .../src/main/java/com/facebook/react/bridge/DynamicFromMap.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/bridge/DynamicFromMap.java b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/bridge/DynamicFromMap.java index 62d8d509f2539d..e6ad9c4a1109be 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/bridge/DynamicFromMap.java +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/bridge/DynamicFromMap.java @@ -11,7 +11,7 @@ import androidx.core.util.Pools.SimplePool; /** Implementation of Dynamic wrapping a ReadableMap. */ -public class DynamicFromMap implements Dynamic { +class DynamicFromMap implements Dynamic { private static final ThreadLocal> sPool = new ThreadLocal>() { @Override