summaryrefslogtreecommitdiffstats
path: root/android
diff options
context:
space:
mode:
authorDawid Gan <deveee@gmail.com>2019-01-21 23:49:12 +0100
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2019-07-03 01:43:56 +0200
commit2162acb490c7e5a03ec2c3d4a71e6125f64cba14 (patch)
tree4794fc550b28dfe94a939542bb2e724d09fd615f /android
parentUse LanguageTag::getFallbackStrings() instead of old dumb hard coded stuff (diff)
downloadcore-2162acb490c7e5a03ec2c3d4a71e6125f64cba14.tar.gz
core-2162acb490c7e5a03ec2c3d4a71e6125f64cba14.zip
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> (cherry picked from commit 2e0e0bf789af7c0de3507cc67ff293ad2c87da33) Reviewed-on: https://gerrit.libreoffice.org/75004 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'android')
-rw-r--r--android/source/src/java/org/libreoffice/LOKitInputConnectionHandler.java1
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;
}