Reduce visibility of DynamicFromArray (#39735)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/39735

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 DynamicFromArray

Reviewed By: RSNara

Differential Revision: D49752134

fbshipit-source-id: 818a2cb0f4cafaad9c13c9b623505f32fb1ebcfe
This commit is contained in:
David Vacca
2023-10-01 18:02:16 -07:00
committed by Facebook GitHub Bot
parent 294c0fa208
commit d6cd496c44
@@ -11,7 +11,7 @@ import androidx.annotation.Nullable;
import androidx.core.util.Pools;
/** Implementation of Dynamic wrapping a ReadableArray. */
public class DynamicFromArray implements Dynamic {
class DynamicFromArray implements Dynamic {
private static final Pools.SimplePool<DynamicFromArray> sPool = new Pools.SimplePool<>(10);
private @Nullable ReadableArray mArray;