am 1a546dca: Merge "Fixed the problem ime invisible status despite being the icon that appears in the statusbar."
* commit '1a546dca77b47b86c87ddf4de7a76662ef8bd48b': Fixed the problem ime invisible status despite being the icon that appears in the statusbar.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user