diff options
author | Satoshi Kataoka <satok@android.com> | 2013-04-18 17:43:37 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2013-04-18 17:43:38 +0000 |
commit | 1a546dca77b47b86c87ddf4de7a76662ef8bd48b (patch) | |
tree | 3a7ddc39ba78d4c1671672a1dedcb3faf6898323 /services | |
parent | 6a67a38f46cafdb9a9cedf3351f7150140cf0bd7 (diff) | |
parent | 217fd2903d09d40cabcdade9f2a162dc6513f800 (diff) | |
download | frameworks_base-1a546dca77b47b86c87ddf4de7a76662ef8bd48b.zip frameworks_base-1a546dca77b47b86c87ddf4de7a76662ef8bd48b.tar.gz frameworks_base-1a546dca77b47b86c87ddf4de7a76662ef8bd48b.tar.bz2 |
Merge "Fixed the problem ime invisible status despite being the icon that appears in the statusbar."
Diffstat (limited to 'services')
-rw-r--r-- | services/java/com/android/server/InputMethodManagerService.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/services/java/com/android/server/InputMethodManagerService.java b/services/java/com/android/server/InputMethodManagerService.java index a296d34..72aa203 100644 --- a/services/java/com/android/server/InputMethodManagerService.java +++ b/services/java/com/android/server/InputMethodManagerService.java @@ -1493,7 +1493,9 @@ public class InputMethodManagerService extends IInputMethodManager.Stub if (mStatusBar != null) { mStatusBar.setImeWindowStatus(token, vis, backDisposition); } - final boolean iconVisibility = (vis & InputMethodService.IME_ACTIVE) != 0; + final boolean iconVisibility = ((vis & (InputMethodService.IME_ACTIVE)) != 0) + && (mWindowManagerService.isHardKeyboardAvailable() + || (vis & (InputMethodService.IME_VISIBLE)) != 0); final InputMethodInfo imi = mMethodMap.get(mCurMethodId); if (imi != null && iconVisibility && needsToShowImeSwitchOngoingNotification()) { // Used to load label |