From 5d386b795e9962217cd1571b33550bf5cac392df Mon Sep 17 00:00:00 2001 From: David Vacca Date: Sat, 30 Sep 2023 22:12:29 -0700 Subject: [PATCH] Reduce visibility of DecayAnimation (#39726) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/39726 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 DecayAnimation Reviewed By: javache, RSNara Differential Revision: D49752144 fbshipit-source-id: 94b69f3f2d780aff55f0dbcf030d15199b703abd --- .../main/java/com/facebook/react/animated/DecayAnimation.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/animated/DecayAnimation.java b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/animated/DecayAnimation.java index b3bbab4378cd01..0e1daa0f1bd181 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/animated/DecayAnimation.java +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/animated/DecayAnimation.java @@ -13,7 +13,7 @@ * Implementation of {@link AnimationDriver} providing support for decay animations. The * implementation is copied from the JS version in {@code AnimatedImplementation.js}. */ -public class DecayAnimation extends AnimationDriver { +class DecayAnimation extends AnimationDriver { private final double mVelocity;