From 3e594ea3dc7d9d55e5afe3346b411f9b34f2ce73 Mon Sep 17 00:00:00 2001 From: David Vacca Date: Thu, 5 Oct 2023 15:36:21 -0700 Subject: [PATCH] Reduce visibility of RedBoxDialogSurfaceDelegate 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 RedBoxDialogSurfaceDelegate bypass-github-export-checks Reviewed By: arushikesarwani94 Differential Revision: D49803299 fbshipit-source-id: d3d5a6a61c4541503552c27bf940531c2e27f5ce --- .../facebook/react/devsupport/RedBoxDialogSurfaceDelegate.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/devsupport/RedBoxDialogSurfaceDelegate.java b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/devsupport/RedBoxDialogSurfaceDelegate.java index 2043dee3381..7bd0c1ae682 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/devsupport/RedBoxDialogSurfaceDelegate.java +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/devsupport/RedBoxDialogSurfaceDelegate.java @@ -23,7 +23,7 @@ import com.facebook.react.devsupport.interfaces.RedBoxHandler; * The implementation of SurfaceDelegate with {@link Activity}. This is the default SurfaceDelegate * for Mobile. */ -public class RedBoxDialogSurfaceDelegate implements SurfaceDelegate { +class RedBoxDialogSurfaceDelegate implements SurfaceDelegate { private final DoubleTapReloadRecognizer mDoubleTapReloadRecognizer; private final DevSupportManager mDevSupportManager;