diff --git a/shell/platform/android/io/flutter/plugin/platform/PlatformViewsController.java b/shell/platform/android/io/flutter/plugin/platform/PlatformViewsController.java index 5b5ed193d09e9..7dc017611ea99 100644 --- a/shell/platform/android/io/flutter/plugin/platform/PlatformViewsController.java +++ b/shell/platform/android/io/flutter/plugin/platform/PlatformViewsController.java @@ -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,