From 9c8ba251a1a278a24556e64aac736e0240100d92 Mon Sep 17 00:00:00 2001 From: David Vacca Date: Thu, 5 Oct 2023 15:36:21 -0700 Subject: [PATCH] Reduce visibility of AnimationsDebugModule 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 AnimationsDebugModule bypass-github-export-checks Reviewed By: arushikesarwani94 Differential Revision: D49803302 fbshipit-source-id: 4c5f51d44c0d21e024d1a411fa425302372456eb --- .../com/facebook/react/modules/debug/AnimationsDebugModule.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/modules/debug/AnimationsDebugModule.java b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/modules/debug/AnimationsDebugModule.java index baa75f512b5998..7af7fe98c0d6df 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/modules/debug/AnimationsDebugModule.java +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/modules/debug/AnimationsDebugModule.java @@ -23,7 +23,7 @@ * going from one screen to another). */ @ReactModule(name = NativeAnimationsDebugModuleSpec.NAME) -public class AnimationsDebugModule extends NativeAnimationsDebugModuleSpec { +class AnimationsDebugModule extends NativeAnimationsDebugModuleSpec { private @Nullable FpsDebugFrameCallback mFrameCallback; private @Nullable final DeveloperSettings mCatalystSettings;