diff options
author | 2010-04-06 12:39:02 -0700 | |
---|---|---|
committer | 2010-04-06 12:39:02 -0700 | |
commit | 97f4b4ad340497f0fe59aa3ef4bb5d323f1c67e1 (patch) | |
tree | 9d46780ff7b939f7c45e97e2954b33897d433d7d /java/src | |
parent | 4f695092a2b0e9717eb32667f0903a10088e3df6 (diff) | |
parent | c2b8c16bdf392c81785031483d21740c5e883046 (diff) | |
download | latinime-97f4b4ad340497f0fe59aa3ef4bb5d323f1c67e1.tar.gz latinime-97f4b4ad340497f0fe59aa3ef4bb5d323f1c67e1.tar.xz latinime-97f4b4ad340497f0fe59aa3ef4bb5d323f1c67e1.zip |
am c2b8c16b: Possible fix for monkey bug: 2529350
Merge commit 'c2b8c16bdf392c81785031483d21740c5e883046' into froyo-plus-aosp
* commit 'c2b8c16bdf392c81785031483d21740c5e883046':
Possible fix for monkey bug: 2529350
Diffstat (limited to 'java/src')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinKeyboardView.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinKeyboardView.java b/java/src/com/android/inputmethod/latin/LatinKeyboardView.java index 37dda5e47..6ba2095c0 100644 --- a/java/src/com/android/inputmethod/latin/LatinKeyboardView.java +++ b/java/src/com/android/inputmethod/latin/LatinKeyboardView.java @@ -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; |