You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e1a43b7
Browse filesBrowse the repository at this point in the historyBrowse files
Mark JSPointerDispatcher and JSTouchDispatcher as open (#57022)
Summary:
The Java-to-Kotlin migration of these classes made them implicitly final (Kotlin default), breaking downstream libraries that subclass them (e.g. react-native-keyboard-controller's JSPointerDispatcherCompat).
Adding `open` restores the pre-migration extensibility.
## Changelog:
[ANDROID] [CHANGED] - Mark JSPointerDispatcher and JSTouchDispatcher as open
Test Plan: CI
Reviewed By: javache
Differential Revision: D107089429
Pulled By: cortinico
Copy file name to clipboardExpand all lines: packages/react-native/ReactAndroid/api/ReactAndroid.api
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -3319,14 +3319,14 @@ public class com/facebook/react/uimanager/IllegalViewOperationException : com/fa
3319
3319
public final fun getView ()Landroid/view/View;
3320
3320
}
3321
3321
3322
-
public final class com/facebook/react/uimanager/JSPointerDispatcher {
3322
+
public class com/facebook/react/uimanager/JSPointerDispatcher {
3323
3323
public fun <init> (Landroid/view/ViewGroup;)V
3324
3324
public final fun handleMotionEvent (Landroid/view/MotionEvent;Lcom/facebook/react/uimanager/events/EventDispatcher;Z)V
3325
3325
public final fun onChildEndedNativeGesture ()V
3326
3326
public final fun onChildStartedNativeGesture (Landroid/view/View;Landroid/view/MotionEvent;Lcom/facebook/react/uimanager/events/EventDispatcher;)V
3327
3327
}
3328
3328
3329
-
public final class com/facebook/react/uimanager/JSTouchDispatcher {
3329
+
public class com/facebook/react/uimanager/JSTouchDispatcher {
3330
3330
public fun <init> (Landroid/view/ViewGroup;)V
3331
3331
public final fun handleTouchEvent (Landroid/view/MotionEvent;Lcom/facebook/react/uimanager/events/EventDispatcher;)V
3332
3332
public final fun handleTouchEvent (Landroid/view/MotionEvent;Lcom/facebook/react/uimanager/events/EventDispatcher;Lcom/facebook/react/bridge/ReactContext;)V
0 commit comments