summaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-02-19 11:32:31 +0900
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-02-23 10:10:26 +0100
commitfe4f1194a9e1b686e58e50eacf1d70a6f0f67436 (patch)
tree8a02822411ae5fbb94a99c059ba18a73fa0e956f /android
parent6f04b04dfd5ceff205ffedb74516b3af2eae7557 (diff)
android: don't hardcode touch type
Change-Id: Ie64df7832daa002daa912c26b3c6f9f2497e0348
Diffstat (limited to 'android')
-rw-r--r--android/experimental/LOAndroid3/src/java/org/libreoffice/LOKitShell.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/experimental/LOAndroid3/src/java/org/libreoffice/LOKitShell.java b/android/experimental/LOAndroid3/src/java/org/libreoffice/LOKitShell.java
index a8295796a291..ab25078e5716 100644
--- a/android/experimental/LOAndroid3/src/java/org/libreoffice/LOKitShell.java
+++ b/android/experimental/LOAndroid3/src/java/org/libreoffice/LOKitShell.java
@@ -86,7 +86,7 @@ public class LOKitShell {
* Send touch event to LOKitThread.
*/
public static void sentTouchEvent(String touchType, MotionEvent motionEvent, PointF pointF) {
- LOKitShell.sendEvent(new LOEvent(LOEvent.TOUCH, "SingleTap", motionEvent, pointF));
+ LOKitShell.sendEvent(new LOEvent(LOEvent.TOUCH, touchType, motionEvent, pointF));
}
/**