Skip to content

Commit

Permalink
Reduce visibility of ComponentNameResolver to internal
Browse files Browse the repository at this point in the history
Summary:
ComponentNameResolver is meant to be used only internaly, we reduce its visbility to internal

changelog: [Android][Breaking] Removed ComponentNameResolver from public API

Reviewed By: javache

Differential Revision: D66403218
  • Loading branch information
mdvacca committed Dec 3, 2024
1 parent 0f41787 commit b1f82f3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 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 @@ -4095,10 +4095,6 @@ public abstract class com/facebook/react/uimanager/BaseViewManagerDelegate : com
public fun setProperty (Landroid/view/View;Ljava/lang/String;Ljava/lang/Object;)V
}

public abstract interface class com/facebook/react/uimanager/ComponentNameResolver {
public abstract fun getComponentNames ()[Ljava/lang/String;
}

public final class com/facebook/react/uimanager/DisplayMetricsHolder {
public static final field INSTANCE Lcom/facebook/react/uimanager/DisplayMetricsHolder;
public static final fun getDisplayMetricsWritableMap (D)Lcom/facebook/react/bridge/WritableMap;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ package com.facebook.react.uimanager
import com.facebook.proguard.annotations.DoNotStripAny

@DoNotStripAny
public interface ComponentNameResolver {
internal interface ComponentNameResolver {
/* returns a list of all the component names that are registered in React Native. */
public val componentNames: Array<String>?
}

0 comments on commit b1f82f3

Please sign in to comment.