Skip to content

Commit

Permalink
Update nullability for usages of handleTouchEvent (facebook#42961)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: facebook#42961

Update nullability for usages of handleTouchEvent

changelog: [internal] internal

Reviewed By: cortinico

Differential Revision: D53652922

fbshipit-source-id: ed26bffcbc3ddcfb82605e9e5439f9a9516459fc
  • Loading branch information
mdvacca authored and facebook-github-bot committed Feb 13, 2024
1 parent 8a94bf0 commit f32950a
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,9 @@ public void onChildEndedNativeGesture(MotionEvent androidEvent, EventDispatcher
* Main catalyst view is responsible for collecting and sending touch events to JS. This method
* reacts for an incoming android native touch events ({@link MotionEvent}) and calls into {@link
* com.facebook.react.uimanager.events.EventDispatcher} when appropriate. It uses {@link
* com.facebook.react.uimanager.TouchTargetHelper#findTouchTargetView} helper method for figuring
* out a react view ID in the case of ACTION_DOWN event (when the gesture starts).
* com.facebook.react.uimanager.TouchTargetHelper#findTargetTagAndCoordinatesForTouch} helper
* method for figuring out a react view ID in the case of ACTION_DOWN event (when the gesture
* starts).
*/
public void handleTouchEvent(MotionEvent ev, EventDispatcher eventDispatcher) {
int action = ev.getAction() & MotionEvent.ACTION_MASK;
Expand Down

0 comments on commit f32950a

Please sign in to comment.