diff --git a/packages/react-native/ReactAndroid/api/ReactAndroid.api b/packages/react-native/ReactAndroid/api/ReactAndroid.api index b6ea2cb049f903..64acc925f464d2 100644 --- a/packages/react-native/ReactAndroid/api/ReactAndroid.api +++ b/packages/react-native/ReactAndroid/api/ReactAndroid.api @@ -3027,27 +3027,6 @@ public abstract interface class com/facebook/react/module/model/ReactModuleInfoP public abstract fun getReactModuleInfos ()Ljava/util/Map; } -public final class com/facebook/react/modules/accessibilityinfo/AccessibilityInfoModule : com/facebook/fbreact/specs/NativeAccessibilityInfoSpec, com/facebook/react/bridge/LifecycleEventListener { - public static final field Companion Lcom/facebook/react/modules/accessibilityinfo/AccessibilityInfoModule$Companion; - public static final field NAME Ljava/lang/String; - public fun (Lcom/facebook/react/bridge/ReactApplicationContext;)V - public fun announceForAccessibility (Ljava/lang/String;)V - public fun getRecommendedTimeoutMillis (DLcom/facebook/react/bridge/Callback;)V - public fun initialize ()V - public fun invalidate ()V - public fun isAccessibilityServiceEnabled (Lcom/facebook/react/bridge/Callback;)V - public fun isHighTextContrastEnabled (Lcom/facebook/react/bridge/Callback;)V - public fun isReduceMotionEnabled (Lcom/facebook/react/bridge/Callback;)V - public fun isTouchExplorationEnabled (Lcom/facebook/react/bridge/Callback;)V - public fun onHostDestroy ()V - public fun onHostPause ()V - public fun onHostResume ()V - public fun setAccessibilityFocus (D)V -} - -public final class com/facebook/react/modules/accessibilityinfo/AccessibilityInfoModule$Companion { -} - public final class com/facebook/react/modules/appearance/AppearanceModule : com/facebook/fbreact/specs/NativeAppearanceSpec { public static final field Companion Lcom/facebook/react/modules/appearance/AppearanceModule$Companion; public static final field NAME Ljava/lang/String; diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/modules/accessibilityinfo/AccessibilityInfoModule.kt b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/modules/accessibilityinfo/AccessibilityInfoModule.kt index dc18949f4fd736..6a44b60ed51091 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/modules/accessibilityinfo/AccessibilityInfoModule.kt +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/modules/accessibilityinfo/AccessibilityInfoModule.kt @@ -28,7 +28,7 @@ import com.facebook.react.module.annotations.ReactModule * device. For API >= 19. */ @ReactModule(name = NativeAccessibilityInfoSpec.NAME) -public class AccessibilityInfoModule(context: ReactApplicationContext) : +internal class AccessibilityInfoModule(context: ReactApplicationContext) : NativeAccessibilityInfoSpec(context), LifecycleEventListener { @TargetApi(Build.VERSION_CODES.LOLLIPOP) private inner class ReactTouchExplorationStateChangeListener :