From 623d0155b6a316fdc9335370cdd4005bbb474ef3 Mon Sep 17 00:00:00 2001 From: "Tadashi G. Takaoka" Date: Wed, 14 Dec 2011 17:05:11 +0900 Subject: [PATCH] Just ignore settings/shortcut key while typing on tablet Bug: 5759096 Change-Id: Ie1f1800d0f32ac0938715c79974e0f382c9c3d27 --- java/res/values/keycodes.xml | 1 + java/res/xml-sw600dp/kbd_key_styles.xml | 4 ++-- java/res/xml-sw768dp/kbd_key_styles.xml | 4 ++-- java/src/com/android/inputmethod/keyboard/Keyboard.java | 3 +++ 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/java/res/values/keycodes.xml b/java/res/values/keycodes.xml index 59cc07531..4f8bfed58 100644 --- a/java/res/values/keycodes.xml +++ b/java/res/values/keycodes.xml @@ -23,6 +23,7 @@ 9 10 32 + 0 -1 -2 -5 diff --git a/java/res/xml-sw600dp/kbd_key_styles.xml b/java/res/xml-sw600dp/kbd_key_styles.xml index aba1a8029..e0171b030 100644 --- a/java/res/xml-sw600dp/kbd_key_styles.xml +++ b/java/res/xml-sw600dp/kbd_key_styles.xml @@ -78,14 +78,14 @@ latin:code="@integer/key_shortcut" latin:keyIcon="iconShortcutKey" latin:keyActionFlags="noKeyPreview|altCodeWhileTyping" - latin:altCode="@integer/key_space" + latin:altCode="@integer/key_dummy" latin:parentStyle="f2PopupStyle" />