Skip to content

Commit

Permalink
Stable API - Make AnimatedNodeWithUpdateableConfig internal (#48900)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
cortinico authored and facebook-github-bot committed Jan 24, 2025
1 parent 2fa0494 commit 54e0b69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions packages/react-native/ReactAndroid/api/ReactAndroid.api
Original file line number Diff line number Diff line change
Expand Up @@ -460,10 +460,6 @@ public abstract interface class com/facebook/react/animated/AnimatedNodeValueLis
public abstract fun onValueUpdate (D)V
}

public abstract interface class com/facebook/react/animated/AnimatedNodeWithUpdateableConfig {
public abstract fun onUpdateConfig (Lcom/facebook/react/bridge/ReadableMap;)V
}

public final class com/facebook/react/animated/InterpolationAnimatedNode : com/facebook/react/animated/ValueAnimatedNode {
public static final field Companion Lcom/facebook/react/animated/InterpolationAnimatedNode$Companion;
public static final field EXTRAPOLATE_TYPE_CLAMP Ljava/lang/String;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ package com.facebook.react.animated
import com.facebook.react.bridge.ReadableMap

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

0 comments on commit 54e0b69

Please sign in to comment.