From e210cfee728555f1c8acca89a35c0c7675503a62 Mon Sep 17 00:00:00 2001 From: David Vacca Date: Sun, 1 Oct 2023 15:47:55 -0700 Subject: [PATCH] Reduce visibility of JSCJavaScriptExecutorFactory 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 JSCJavaScriptExecutorFactory Differential Revision: D49752141 fbshipit-source-id: c399aa29574017aed759da4472115368167ce4b8 --- .../com/facebook/react/bridge/JSCJavaScriptExecutorFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/bridge/JSCJavaScriptExecutorFactory.java b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/bridge/JSCJavaScriptExecutorFactory.java index 97b25026f0f12f..8f62940fac31cb 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/bridge/JSCJavaScriptExecutorFactory.java +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/bridge/JSCJavaScriptExecutorFactory.java @@ -9,7 +9,7 @@ /** @deprecated use {@link com.facebook.react.jscexecutor.JSCExecutorFactory} instead. */ @Deprecated -public class JSCJavaScriptExecutorFactory implements JavaScriptExecutorFactory { +class JSCJavaScriptExecutorFactory implements JavaScriptExecutorFactory { private final String mAppName; private final String mDeviceName;