From ad4e87d07d20313901630168809558b368459eee 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. (#6103) --- .../io/flutter/plugin/platform/PlatformViewsController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shell/platform/android/io/flutter/plugin/platform/PlatformViewsController.java b/shell/platform/android/io/flutter/plugin/platform/PlatformViewsController.java index 5b5ed193d09..7dc017611ea 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 @@ public class PlatformViewsController implements MethodChannel.MethodCallHandler } MotionEvent event = MotionEvent.obtain( - downTime.intValue(), - eventTime.intValue(), + downTime.longValue(), + eventTime.longValue(), action, pointerCount, pointerProperties,