diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-02-17 10:33:47 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-02-23 10:10:22 +0100 |
commit | bfe3a47e1e5bb51b7f9440b6155d002eedcea22b (patch) | |
tree | 4abe069df6959ac50b108063d56173482c1f878d /android/Bootstrap | |
parent | 0622d2658a8ccadadfb5eb2180a252833c3a9c22 (diff) |
lok::Office::postKeyEvent: allow different char and key code
editeng is not happy with non-zero char code for css::awt::Key::ESCAPE.
Change-Id: If26923df7defb8a47766e9109835a8569067e578
Diffstat (limited to 'android/Bootstrap')
-rw-r--r-- | android/Bootstrap/src/org/libreoffice/kit/Office.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/android/Bootstrap/src/org/libreoffice/kit/Office.java b/android/Bootstrap/src/org/libreoffice/kit/Office.java index 25861c92abfc..f344e21e109e 100644 --- a/android/Bootstrap/src/org/libreoffice/kit/Office.java +++ b/android/Bootstrap/src/org/libreoffice/kit/Office.java @@ -39,7 +39,7 @@ public class Office { * @param type - type of key event * @param code - key event code */ - public native void postKeyEvent(int type, int code); + public native void postKeyEvent(int type, int charCode, int keyCode); public native void destroy(); public native void destroyAndExit(); |