aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/android/inputmethod/latin/LatinKeyboard.java
diff options
context:
space:
mode:
authorAmith Yamasani <>2009-03-25 15:19:40 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2009-03-25 15:19:40 -0700
commit18935a170c9fd17f7445dc8d95e676e9cd6bb016 (patch)
tree378784e16487eb89be5b3ae8d2e2a3648cf8d751 /src/com/android/inputmethod/latin/LatinKeyboard.java
parent715ce04133e62ddfcb14802515b0eb8e70caa10a (diff)
downloadlatinime-18935a170c9fd17f7445dc8d95e676e9cd6bb016.tar.gz
latinime-18935a170c9fd17f7445dc8d95e676e9cd6bb016.tar.xz
latinime-18935a170c9fd17f7445dc8d95e676e9cd6bb016.zip
Automated import from //branches/cupcake/...@142634,142634
Diffstat (limited to 'src/com/android/inputmethod/latin/LatinKeyboard.java')
-rw-r--r--src/com/android/inputmethod/latin/LatinKeyboard.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/inputmethod/latin/LatinKeyboard.java b/src/com/android/inputmethod/latin/LatinKeyboard.java
index 94b72b885..7720dfbe5 100644
--- a/src/com/android/inputmethod/latin/LatinKeyboard.java
+++ b/src/com/android/inputmethod/latin/LatinKeyboard.java
@@ -195,6 +195,10 @@ public class LatinKeyboard extends Keyboard {
public LatinKey(Resources res, Keyboard.Row parent, int x, int y,
XmlResourceParser parser) {
super(res, parent, x, y, parser);
+ if (popupCharacters != null && popupCharacters.length() == 0) {
+ // If there is a keyboard with no keys specified in popupCharacters
+ popupResId = 0;
+ }
}
void enableShiftLock() {