diff --git a/packages/react-native/ReactAndroid/api/ReactAndroid.api b/packages/react-native/ReactAndroid/api/ReactAndroid.api index 60c865e204d1b3..e540ce715f000e 100644 --- a/packages/react-native/ReactAndroid/api/ReactAndroid.api +++ b/packages/react-native/ReactAndroid/api/ReactAndroid.api @@ -1907,19 +1907,6 @@ public final class com/facebook/react/common/build/ReactBuildConfig { public static final field IS_INTERNAL_BUILD Z } -public final class com/facebook/react/common/futures/SimpleSettableFuture : java/util/concurrent/Future { - public fun ()V - public fun cancel (Z)Z - public fun get ()Ljava/lang/Object; - public fun get (JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object; - public final fun getOrThrow ()Ljava/lang/Object; - public final fun getOrThrow (JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object; - public fun isCancelled ()Z - public fun isDone ()Z - public final fun set (Ljava/lang/Object;)V - public final fun setException (Ljava/lang/Exception;)V -} - public abstract interface class com/facebook/react/common/mapbuffer/MapBuffer : java/lang/Iterable, kotlin/jvm/internal/markers/KMappedMarker { public static final field Companion Lcom/facebook/react/common/mapbuffer/MapBuffer$Companion; public abstract fun contains (I)Z diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/common/futures/SimpleSettableFuture.kt b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/common/futures/SimpleSettableFuture.kt index 79c5d5c3fdc383..95c093e6670f1f 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/common/futures/SimpleSettableFuture.kt +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/common/futures/SimpleSettableFuture.kt @@ -17,7 +17,7 @@ import java.util.concurrent.TimeoutException * A super simple Future-like class that can safely notify another Thread when a value is ready. * Does not support canceling. */ -public class SimpleSettableFuture : Future { +internal class SimpleSettableFuture : Future { private val readyLatch = CountDownLatch(1) private var result: T? = null