Automated import from //branches/cupcake/...@142634,142634

main
Amith Yamasani 2009-03-25 15:19:40 -07:00 committed by The Android Open Source Project
parent 715ce04133
commit 18935a170c
1 changed files with 4 additions and 0 deletions

View File

@ -195,6 +195,10 @@ public class LatinKeyboard extends Keyboard {
public LatinKey(Resources res, Keyboard.Row parent, int x, int y, public LatinKey(Resources res, Keyboard.Row parent, int x, int y,
XmlResourceParser parser) { XmlResourceParser parser) {
super(res, parent, x, y, 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() { void enableShiftLock() {