From f46bc717cd4a37140f5b96b8753f0a40c5559742 Mon Sep 17 00:00:00 2001 From: David Vacca Date: Thu, 5 Oct 2023 15:36:21 -0700 Subject: [PATCH] Reduce visibility of LogBoxDialogSurfaceDelegate 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 LogBoxDialogSurfaceDelegate bypass-github-export-checks Reviewed By: arushikesarwani94 Differential Revision: D49803282 fbshipit-source-id: 51594dc7d2eda47f4673874cf83d77a1a6d8007b --- .../facebook/react/devsupport/LogBoxDialogSurfaceDelegate.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/devsupport/LogBoxDialogSurfaceDelegate.java b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/devsupport/LogBoxDialogSurfaceDelegate.java index ed465a18383aab..a4ec930f5e4bee 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/devsupport/LogBoxDialogSurfaceDelegate.java +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/devsupport/LogBoxDialogSurfaceDelegate.java @@ -20,7 +20,7 @@ * The implementation of SurfaceDelegate with {@link Activity}. This is the default SurfaceDelegate * for Mobile. */ -public class LogBoxDialogSurfaceDelegate implements SurfaceDelegate { +class LogBoxDialogSurfaceDelegate implements SurfaceDelegate { private @Nullable View mReactRootView; private @Nullable LogBoxDialog mDialog;