From 233089ca43b1fa448d4e021571ae377a0c77f763 Mon Sep 17 00:00:00 2001 From: Alex Pakhotin Date: Mon, 16 Jan 2012 17:58:56 -0800 Subject: [PATCH] Bug 717902 - Form autocomplete pop-up with the available suggestions is not displayed in landscape mode when HKB is used. r=blassey --- mobile/android/base/GeckoApp.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mobile/android/base/GeckoApp.java b/mobile/android/base/GeckoApp.java index 57c53a6ecbee..56d9a83dae32 100644 --- a/mobile/android/base/GeckoApp.java +++ b/mobile/android/base/GeckoApp.java @@ -956,7 +956,9 @@ abstract public class GeckoApp mMainHandler.post(new Runnable() { public void run() { // Don't show autocomplete popup when using fullscreen VKB - if (!GeckoInputConnection.mIMELandscapeFS) + InputMethodManager imm = + (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE); + if (!imm.isFullscreenMode()) mAutoCompletePopup.show(suggestions, rect, zoom); } });