From 5bbc89e4be6b0ccf9fda2ce1510f52839182c73d Mon Sep 17 00:00:00 2001 From: David Vacca Date: Sat, 30 Sep 2023 22:12:29 -0700 Subject: [PATCH] Reduce visibility of AnimatedNodeWithUpdateableConfig (#39730) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/39730 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 AnimatedNodeWithUpdateableConfig Reviewed By: RSNara Differential Revision: D49752143 fbshipit-source-id: 023fb7657d922b2bd7ad8e12640e67bc82c96185 --- .../react/animated/AnimatedNodeWithUpdateableConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/animated/AnimatedNodeWithUpdateableConfig.java b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/animated/AnimatedNodeWithUpdateableConfig.java index 59fb7d801cb9a1..a8cf01e11f1456 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/animated/AnimatedNodeWithUpdateableConfig.java +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/animated/AnimatedNodeWithUpdateableConfig.java @@ -10,6 +10,6 @@ import com.facebook.react.bridge.ReadableMap; /** Indicates that AnimatedNode is able to receive native config updates. */ -public interface AnimatedNodeWithUpdateableConfig { +interface AnimatedNodeWithUpdateableConfig { void onUpdateConfig(ReadableMap config); }