aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinKeyboardView.java
diff options
context:
space:
mode:
authorAmith Yamasani <yamasani@google.com>2010-04-06 12:39:02 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-04-06 12:39:02 -0700
commit97f4b4ad340497f0fe59aa3ef4bb5d323f1c67e1 (patch)
tree9d46780ff7b939f7c45e97e2954b33897d433d7d /java/src/com/android/inputmethod/latin/LatinKeyboardView.java
parent4f695092a2b0e9717eb32667f0903a10088e3df6 (diff)
parentc2b8c16bdf392c81785031483d21740c5e883046 (diff)
downloadlatinime-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/com/android/inputmethod/latin/LatinKeyboardView.java')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinKeyboardView.java4
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;