diff options
author | Dawid Gan <deveee@gmail.com> | 2019-01-21 23:49:12 +0100 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2019-06-28 09:47:18 +0200 |
commit | 2e0e0bf789af7c0de3507cc67ff293ad2c87da33 (patch) | |
tree | 608dc2ea2cc9dc6429136552567026893de534c2 /android/source | |
parent | a08725165dfefa01dd491b3bd935d7a7d34b1877 (diff) |
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@cib.de>
Diffstat (limited to 'android/source')
-rw-r--r-- | android/source/src/java/org/libreoffice/LOKitInputConnectionHandler.java | 1 |
1 files changed, 0 insertions, 1 deletions
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; } |