From dc470dc12acbe20c5bfb117428dcd4f3ddd8d717 Mon Sep 17 00:00:00 2001 From: Amir Hardon Date: Tue, 28 Aug 2018 12:12:47 -0700 Subject: [PATCH] Convert synthesized Android motion events to long and not to int. (flutter/engine#6103) --- .../io/flutter/plugin/platform/PlatformViewsController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,