diff options
author | jungheang.lee <jungheang.lee@lge.com> | 2013-02-26 16:53:22 +0900 |
---|---|---|
committer | jungheang.lee <jungheang.lee@lge.com> | 2013-02-28 16:08:26 +0900 |
commit | 217fd2903d09d40cabcdade9f2a162dc6513f800 (patch) | |
tree | b42541eb24a6a85fcbac0711e7f1c3c4d5301775 /services | |
parent | 8d4d4cf283d12821caba321204759f2ce3fd210a (diff) | |
download | frameworks_base-217fd2903d09d40cabcdade9f2a162dc6513f800.zip frameworks_base-217fd2903d09d40cabcdade9f2a162dc6513f800.tar.gz frameworks_base-217fd2903d09d40cabcdade9f2a162dc6513f800.tar.bz2 |
Fixed the problem ime invisible status despite being the icon that appears in the statusbar.
[Reproduce the Path]
Precondition : Set "Auto-rotate screen" option to ENABLE
Calendar App lunch -> Rotate device to "Landscape" -> Touch "+" button(Add new Schedule)
-> Check the ime icons of the Status bar
Ime invisible status despite being the icon that appears in the statusbar.
Displays an icon in the status bar when the ime was actually visible state is modified to check.
Change-Id: If103ab909c5bfa6391eb51a696fb8b8f0b18808c
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 |