Skip to content

Commit

Permalink
Unbreak oss build due to explicit API mode (facebook#43660)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: facebook#43660

Changelog: [Internal]

Reviewed By: cortinico, fabriziocucci

Differential Revision: D55375856

fbshipit-source-id: d1df4965549069979410d8b07bb2518264238c8c
  • Loading branch information
javache authored and facebook-github-bot committed Mar 27, 2024
1 parent b282e87 commit 59a43e6
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 29 deletions.
22 changes: 0 additions & 22 deletions packages/react-native/ReactAndroid/api/ReactAndroid.api
Original file line number Diff line number Diff line change
Expand Up @@ -3988,11 +3988,6 @@ public abstract interface class com/facebook/react/uimanager/ComponentNameResolv
public abstract fun getComponentNames ()[Ljava/lang/String;
}

public final class com/facebook/react/uimanager/ComponentNameResolverBinding {
public static final field INSTANCE Lcom/facebook/react/uimanager/ComponentNameResolverBinding;
public static final fun install (Lcom/facebook/react/bridge/RuntimeExecutor;Ljava/lang/Object;)V
}

public class com/facebook/react/uimanager/DisplayMetricsHolder {
public fun <init> ()V
public static fun getDisplayMetricsWritableMap (D)Lcom/facebook/react/bridge/WritableMap;
Expand Down Expand Up @@ -4855,23 +4850,6 @@ public abstract interface class com/facebook/react/uimanager/UIBlock {
public abstract fun execute (Lcom/facebook/react/uimanager/NativeViewHierarchyManager;)V
}

public final class com/facebook/react/uimanager/UIConstantsProviderBinding {
public static final field INSTANCE Lcom/facebook/react/uimanager/UIConstantsProviderBinding;
public static final fun install (Lcom/facebook/react/bridge/RuntimeExecutor;Lcom/facebook/react/uimanager/UIConstantsProviderBinding$DefaultEventTypesProvider;Lcom/facebook/react/uimanager/UIConstantsProviderBinding$ConstantsForViewManagerProvider;Lcom/facebook/react/uimanager/UIConstantsProviderBinding$ConstantsProvider;)V
}

public abstract interface class com/facebook/react/uimanager/UIConstantsProviderBinding$ConstantsForViewManagerProvider {
public abstract fun getConstantsForViewManager (Ljava/lang/String;)Lcom/facebook/react/bridge/NativeMap;
}

public abstract interface class com/facebook/react/uimanager/UIConstantsProviderBinding$ConstantsProvider {
public abstract fun getConstants ()Lcom/facebook/react/bridge/NativeMap;
}

public abstract interface class com/facebook/react/uimanager/UIConstantsProviderBinding$DefaultEventTypesProvider {
public abstract fun getDefaultEventTypes ()Lcom/facebook/react/bridge/NativeMap;
}

public class com/facebook/react/uimanager/UIImplementation {
protected final field mEventDispatcher Lcom/facebook/react/uimanager/events/EventDispatcher;
protected field mLayoutUpdateListener Lcom/facebook/react/uimanager/UIImplementation$LayoutUpdateListener;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ import com.facebook.react.common.annotations.DeprecatedInNewArchitecture
* BridgeReactContext.
*/
@DeprecatedInNewArchitecture
class BridgeReactContext(base: Context) : ReactApplicationContext(base) {}
public class BridgeReactContext(base: Context) : ReactApplicationContext(base) {}
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ import com.facebook.soloader.SoLoader
import kotlin.jvm.JvmStatic

@DoNotStripAny
public object ComponentNameResolverBinding {
internal object ComponentNameResolverBinding {
init {
SoLoader.loadLibrary("uimanagerjni")
}

@JvmStatic
public external fun install(runtimeExecutor: RuntimeExecutor, componentNameResolver: Object)
public external fun install(runtimeExecutor: RuntimeExecutor, componentNameResolver: Any)
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import com.facebook.soloader.SoLoader
import kotlin.jvm.JvmStatic

@DoNotStripAny
public object UIConstantsProviderBinding {
internal object UIConstantsProviderBinding {
init {
SoLoader.loadLibrary("uimanagerjni")
}
Expand All @@ -30,18 +30,18 @@ public object UIConstantsProviderBinding {
@DoNotStripAny
public interface DefaultEventTypesProvider {
/* Returns UIManager's constants. */
fun getDefaultEventTypes(): NativeMap
public fun getDefaultEventTypes(): NativeMap
}

@DoNotStripAny
public interface ConstantsForViewManagerProvider {
/* Returns UIManager's constants. */
fun getConstantsForViewManager(viewManagerName: String): NativeMap?
public fun getConstantsForViewManager(viewManagerName: String): NativeMap?
}

@DoNotStripAny
public interface ConstantsProvider {
/* Returns UIManager's constants. */
fun getConstants(): NativeMap
public fun getConstants(): NativeMap
}
}

0 comments on commit 59a43e6

Please sign in to comment.