Skip to content

Commit

Permalink
Convert synthesized Android motion events to long and not to int. (fl…
Browse files Browse the repository at this point in the history
  • Loading branch information
amirh authored Aug 28, 2018
1 parent f05b08b commit ad4e87d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,8 @@ private void onTouch(MethodCall call, MethodChannel.Result result) {
}

MotionEvent event = MotionEvent.obtain(
downTime.intValue(),
eventTime.intValue(),
downTime.longValue(),
eventTime.longValue(),
action,
pointerCount,
pointerProperties,
Expand Down

0 comments on commit ad4e87d

Please sign in to comment.