am c2b8c16b: Possible fix for monkey bug: 2529350

Merge commit 'c2b8c16bdf392c81785031483d21740c5e883046' into froyo-plus-aosp

* commit 'c2b8c16bdf392c81785031483d21740c5e883046':
  Possible fix for monkey bug: 2529350
main
Amith Yamasani 2010-04-06 12:39:02 -07:00 committed by Android Git Automerger
commit 97f4b4ad34
1 changed files with 4 additions and 0 deletions

View File

@ -276,6 +276,10 @@ public class LatinKeyboardView extends KeyboardView {
}
private boolean openExtension() {
// If the current keyboard is not visible, don't show the popup
if (!isShown()) {
return false;
}
if (((LatinKeyboard) getKeyboard()).getExtension() == 0) return false;
makePopupWindow();
mExtensionVisible = true;