Skip to content

Commit

Permalink
Internalize RootViewManager (#48545)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #48545

RootViewManager is meant to be used by the internals of React Native, ther are no external usages. I'm internalizing it

changelog: [internal] internal

Reviewed By: christophpurrer

Differential Revision: D67952865

fbshipit-source-id: 4c7f7de01c4de7ae00f62bd4f5b49e0082ec3f2b
  • Loading branch information
mdvacca authored and facebook-github-bot committed Jan 9, 2025
1 parent dc5535c commit a79a112
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
11 changes: 0 additions & 11 deletions packages/react-native/ReactAndroid/api/ReactAndroid.api
Original file line number Diff line number Diff line change
Expand Up @@ -4843,17 +4843,6 @@ public abstract interface class com/facebook/react/uimanager/RootView {
public abstract fun onChildStartedNativeGesture (Landroid/view/View;Landroid/view/MotionEvent;)V
}

public final class com/facebook/react/uimanager/RootViewManager : com/facebook/react/uimanager/ViewGroupManager {
public static final field Companion Lcom/facebook/react/uimanager/RootViewManager$Companion;
public static final field REACT_CLASS Ljava/lang/String;
public fun <init> ()V
public synthetic fun createViewInstance (Lcom/facebook/react/uimanager/ThemedReactContext;)Landroid/view/View;
public fun getName ()Ljava/lang/String;
}

public final class com/facebook/react/uimanager/RootViewManager$Companion {
}

public final class com/facebook/react/uimanager/RootViewUtil {
public static final field INSTANCE Lcom/facebook/react/uimanager/RootViewUtil;
public static final fun getRootView (Landroid/view/View;)Lcom/facebook/react/uimanager/RootView;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import android.view.ViewGroup
import android.widget.FrameLayout

/** View manager for ReactRootView components. */
public class RootViewManager : ViewGroupManager<ViewGroup>() {
internal class RootViewManager : ViewGroupManager<ViewGroup>() {

override public fun getName(): String = REACT_CLASS

Expand Down

0 comments on commit a79a112

Please sign in to comment.