From 808202b60fca5615220c98fbf0672bb34f32c1bb Mon Sep 17 00:00:00 2001 From: Amith Yamasani <> Date: Wed, 25 Mar 2009 16:58:32 -0700 Subject: [PATCH] Automated import from //branches/donutburger/...@142718,142718 --- src/com/android/inputmethod/latin/LatinKeyboard.java | 4 ++++ 1 file changed, 4 insertions(+) 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() {