From 30b9b01e68929b4d0d839c98e91fefe99319ec50 Mon Sep 17 00:00:00 2001 From: David Vacca Date: Thu, 19 Oct 2023 11:16:40 -0700 Subject: [PATCH] Reduce visibility of CoreModulesPackage (#41087) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/41087 CoreModulesPackage is not being used outside of its package (neither in OSS or at Meta), I'm reducing its visibiity to package. If you are using this class, please contact us and we will consider increasing visibiity again. bypass-github-export-checks changelog: [Android][Breaking] Reduce visibility of CoreModulesPackage class Reviewed By: christophpurrer Differential Revision: D50338546 fbshipit-source-id: 3f0ce4dd22ddfa6743760ad378e7c6e45ab58127 --- .../src/main/java/com/facebook/react/CoreModulesPackage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/CoreModulesPackage.java b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/CoreModulesPackage.java index 3f269bd2380d04..3ffbc8aa28d22d 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/CoreModulesPackage.java +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/CoreModulesPackage.java @@ -57,7 +57,7 @@ TimingModule.class, UIManagerModule.class, }) -public class CoreModulesPackage extends TurboReactPackage implements ReactPackageLogger { +class CoreModulesPackage extends TurboReactPackage implements ReactPackageLogger { private final ReactInstanceManager mReactInstanceManager; private final DefaultHardwareBackBtnHandler mHardwareBackBtnHandler;