diff --git a/engine/src/flutter/shell/platform/android/io/flutter/plugin/platform/PlatformViewsController.java b/engine/src/flutter/shell/platform/android/io/flutter/plugin/platform/PlatformViewsController.java index 5b5ed193d0..7dc017611e 100644 --- a/engine/src/flutter/shell/platform/android/io/flutter/plugin/platform/PlatformViewsController.java +++ b/engine/src/flutter/shell/platform/android/io/flutter/plugin/platform/PlatformViewsController.java @@ -254,8 +254,8 @@ public class PlatformViewsController implements MethodChannel.MethodCallHandler } MotionEvent event = MotionEvent.obtain( - downTime.intValue(), - eventTime.intValue(), + downTime.longValue(), + eventTime.longValue(), action, pointerCount, pointerProperties,