[Libreoffice-commits] core.git: android/source
Dawid Gan (via logerrit)
logerrit at kemper.freedesktop.org
Fri Jun 28 07:47:57 UTC 2019
android/source/src/java/org/libreoffice/LOKitInputConnectionHandler.java | 1 -
1 file changed, 1 deletion(-)
New commits:
commit 2e0e0bf789af7c0de3507cc67ff293ad2c87da33
Author: Dawid Gan <deveee at gmail.com>
AuthorDate: Mon Jan 21 23:49:12 2019 +0100
Commit: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
CommitDate: Fri Jun 28 09:47:18 2019 +0200
tdf#102040 Don't type doubled characters when using external keyboard.
Typically application should handle key press/release and multiple
actions. The onKeyPreIme may be used to handle some keys early and it's
not needed for writing text. And even if there would be a reason to use
it, then it should return true to notify that the event was handled
(otherwise we will get onKeyDown event for the same key).
Change-Id: I49ce7f411fac92ff86ca042a7f7467e910e46350
Reviewed-on: https://gerrit.libreoffice.org/66708
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
diff --git a/android/source/src/java/org/libreoffice/LOKitInputConnectionHandler.java b/android/source/src/java/org/libreoffice/LOKitInputConnectionHandler.java
index 804e7263594f..bbef709af297 100644
--- a/android/source/src/java/org/libreoffice/LOKitInputConnectionHandler.java
+++ b/android/source/src/java/org/libreoffice/LOKitInputConnectionHandler.java
@@ -31,7 +31,6 @@ public class LOKitInputConnectionHandler implements InputConnectionHandler {
*/
@Override
public boolean onKeyPreIme(int keyCode, KeyEvent event) {
- LOKitShell.sendKeyEvent(event);
return false;
}
More information about the Libreoffice-commits
mailing list