Skip to content

Commit

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

Changelog: [Internal]

Reviewed By: fabriziocucci

Differential Revision: D55375856
  • Loading branch information
javache authored and facebook-github-bot committed Mar 27, 2024
1 parent b282e87 commit 4843109
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 33 deletions.
26 changes: 0 additions & 26 deletions packages/react-native/ReactAndroid/api/ReactAndroid.api
Original file line number Diff line number Diff line change
Expand Up @@ -532,10 +532,6 @@ public abstract class com/facebook/react/bridge/BaseJavaModule : com/facebook/re
public fun invalidate ()V
}

public final class com/facebook/react/bridge/BridgeReactContext : com/facebook/react/bridge/ReactApplicationContext {
public fun <init> (Landroid/content/Context;)V
}

public abstract interface class com/facebook/react/bridge/Callback {
public abstract fun invoke ([Ljava/lang/Object;)V
}
Expand Down Expand Up @@ -3988,11 +3984,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 +4846,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) {}
internal 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 4843109

Please sign in to comment.