From 78097648d305b35b17cbc11626a5b25a2ea77292 Mon Sep 17 00:00:00 2001 From: David Vacca Date: Sat, 30 Sep 2023 22:12:29 -0700 Subject: [PATCH] Reduce visibility of EagerModuleProvider (#39732) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/39732 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 EagerModuleProvider Reviewed By: RSNara Differential Revision: D49752133 fbshipit-source-id: 3d24d471753bbf3857ecf6105a95f90305ac492d --- .../src/main/java/com/facebook/react/EagerModuleProvider.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/EagerModuleProvider.java b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/EagerModuleProvider.java index ea17d5aad08da1..07bb19c4654691 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/EagerModuleProvider.java +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/EagerModuleProvider.java @@ -11,7 +11,7 @@ import javax.inject.Provider; /** Provider for an already initialized and non-lazy NativeModule. */ -public class EagerModuleProvider implements Provider { +class EagerModuleProvider implements Provider { private final NativeModule mModule;