diff options
| author | Amith Yamasani <> | 2009-03-25 15:19:40 -0700 |
|---|---|---|
| committer | The Android Open Source Project <initial-contribution@android.com> | 2009-03-25 15:19:40 -0700 |
| commit | 18935a170c9fd17f7445dc8d95e676e9cd6bb016 (patch) | |
| tree | 378784e16487eb89be5b3ae8d2e2a3648cf8d751 | |
| parent | 715ce04133e62ddfcb14802515b0eb8e70caa10a (diff) | |
| download | android_packages_inputmethods_LatinIME-18935a170c9fd17f7445dc8d95e676e9cd6bb016.tar.gz android_packages_inputmethods_LatinIME-18935a170c9fd17f7445dc8d95e676e9cd6bb016.tar.bz2 android_packages_inputmethods_LatinIME-18935a170c9fd17f7445dc8d95e676e9cd6bb016.zip | |
Automated import from //branches/cupcake/...@142634,142634
| -rw-r--r-- | src/com/android/inputmethod/latin/LatinKeyboard.java | 4 |
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() { |
