From 18935a170c9fd17f7445dc8d95e676e9cd6bb016 Mon Sep 17 00:00:00 2001 From: Amith Yamasani <> Date: Wed, 25 Mar 2009 15:19:40 -0700 Subject: [PATCH] Automated import from //branches/cupcake/...@142634,142634 --- 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() {