From 6383eec86449f4015814b58ce5eb6881046eb24c Mon Sep 17 00:00:00 2001 From: David Vacca <515103+mdvacca@users.noreply.github.com> Date: Sun, 1 Oct 2023 08:17:43 -0700 Subject: [PATCH] Reduce visibility of JSIModuleHolder 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. changelog: [Android][Changed] Reducing visibility of JSIModuleHolder Reviewed By: RSNara Differential Revision: D49752136 fbshipit-source-id: 94148bcac920645fbb857e648e10330a72f481d6 --- .../main/java/com/facebook/react/bridge/JSIModuleHolder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/bridge/JSIModuleHolder.java b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/bridge/JSIModuleHolder.java index 1ca25d188bede3..3223560878de36 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/bridge/JSIModuleHolder.java +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/bridge/JSIModuleHolder.java @@ -7,7 +7,7 @@ package com.facebook.react.bridge; -public class JSIModuleHolder { +class JSIModuleHolder { private JSIModule mModule; private final JSIModuleSpec mSpec;