Skip to content

Commit 54e0b69

Browse files
cortinicofacebook-github-bot
authored andcommittedJan 24, 2025
Stable API - Make AnimatedNodeWithUpdateableConfig internal (#48900)
Summary: Pull Request resolved: #48900 I've verified that this interface is not used externally, so I'm making it internal. https://github.com/search?type=code&q=NOT+is%3Afork+NOT+org%3Afacebook+NOT+repo%3Areact-native-tvos%2Freact-native-tvos+NOT+repo%3Anuagoz%2Freact-native+NOT+repo%3A2lambda123%2Freact-native+NOT+repo%3Apvinis%2Freact-native---investigation+NOT+repo%3Abeanchips%2Ffacebookreactnative+NOT+repo%3AfabOnReact%2Freact-native-notes+NOT+user%3Ahuntie+NOT+repo%3Amolangning%2Freversing-discord+com.facebook.react.animated.AnimatedNodeWithUpdateableConfig+ Changelog: [Android] [Removed] - Stable API - Make `AnimatedNodeWithUpdateableConfig` internal as it was not used in OSS Reviewed By: tdn120, mdvacca Differential Revision: D68562055 fbshipit-source-id: 0f06c22dc096efabce9fb937f099775effbff3f6
1 parent 2fa0494 commit 54e0b69

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed
 

‎packages/react-native/ReactAndroid/api/ReactAndroid.api

-4
Original file line numberDiff line numberDiff line change
@@ -460,10 +460,6 @@ public abstract interface class com/facebook/react/animated/AnimatedNodeValueLis
460460
public abstract fun onValueUpdate (D)V
461461
}
462462

463-
public abstract interface class com/facebook/react/animated/AnimatedNodeWithUpdateableConfig {
464-
public abstract fun onUpdateConfig (Lcom/facebook/react/bridge/ReadableMap;)V
465-
}
466-
467463
public final class com/facebook/react/animated/InterpolationAnimatedNode : com/facebook/react/animated/ValueAnimatedNode {
468464
public static final field Companion Lcom/facebook/react/animated/InterpolationAnimatedNode$Companion;
469465
public static final field EXTRAPOLATE_TYPE_CLAMP Ljava/lang/String;

‎packages/react-native/ReactAndroid/src/main/java/com/facebook/react/animated/AnimatedNodeWithUpdateableConfig.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ package com.facebook.react.animated
1010
import com.facebook.react.bridge.ReadableMap
1111

1212
/** Indicates that AnimatedNode is able to receive native config updates. */
13-
public fun interface AnimatedNodeWithUpdateableConfig {
14-
public fun onUpdateConfig(config: ReadableMap?)
13+
internal fun interface AnimatedNodeWithUpdateableConfig {
14+
fun onUpdateConfig(config: ReadableMap?)
1515
}

0 commit comments

Comments
 (0)