From e46372ffa4e614e903717c3c5e57a30d444ec4a4 Mon Sep 17 00:00:00 2001 From: David Vacca Date: Sun, 1 Oct 2023 18:02:16 -0700 Subject: [PATCH] Reduce visibility of NativeArrayInterface (#39744) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/39744 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 NativeArrayInterface Reviewed By: arushikesarwani94 Differential Revision: D49803296 fbshipit-source-id: b0065d3df8ef5f20b71f66caf45856440dd61d80 --- .../java/com/facebook/react/bridge/NativeArrayInterface.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/bridge/NativeArrayInterface.java b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/bridge/NativeArrayInterface.java index 6791df05e6d..a410a3aeb28 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/bridge/NativeArrayInterface.java +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/bridge/NativeArrayInterface.java @@ -7,7 +7,7 @@ package com.facebook.react.bridge; -public interface NativeArrayInterface { +interface NativeArrayInterface { @Override String toString(); }