path: root/src/plugins/platforms/android/androidjniinput.h
diff options
authorEskil Abrahamsen Blomfeldt <>2019-10-16 11:34:29 +0200
committerEskil Abrahamsen Blomfeldt <>2019-10-21 09:14:08 +0200
commitd3398207d0384e786f466662fa40c6fb86844fb6 (patch)
treec5b5b191f47850365ef0983cbede229cda1c9145 /src/plugins/platforms/android/androidjniinput.h
parented7dd9a6edd7afd8798751c8b1d3ee7802ae253f (diff)
Revert "Release left button before showing the popup context menu"
This partially reverts commit 5e8b16f0e4247cc978b08480450526cfa3b25029. Releasing the mouse button synthetically made it impossible to use tap and hold gestures. When investigating, it seems that other changes have fixed the original issue that 5e8b16f0e4247cc978b08480450526cfa3b25029 was meant to address, so this is no longer needed. [ChangeLog][Android] Fixed regression that made it impossible for an application to use the tap-and-hold gesture. Fixes: QTBUG-72408 Change-Id: I53f687d047a4ad0fdf3c8c96a00ed1b11d09f047 Reviewed-by: BogDan Vatra <>
Diffstat (limited to 'src/plugins/platforms/android/androidjniinput.h')
1 files changed, 0 insertions, 2 deletions
diff --git a/src/plugins/platforms/android/androidjniinput.h b/src/plugins/platforms/android/androidjniinput.h
index 2e2470ae8f..cc3070c4aa 100644
--- a/src/plugins/platforms/android/androidjniinput.h
+++ b/src/plugins/platforms/android/androidjniinput.h
@@ -61,8 +61,6 @@ namespace QtAndroidInput
void updateHandles(int handleCount, QPoint editMenuPos = QPoint(), uint32_t editButtons = 0, QPoint cursor = QPoint(), QPoint anchor = QPoint(), bool rtl = false);
bool registerNatives(JNIEnv *env);
- void releaseMouse(int x, int y);