Update the subtype icon properly.

Change-Id: Ib89959d1ea13f1e6f56e6280f90532e6695c4a00
This commit is contained in:
satok
2010-11-02 19:46:55 +09:00
parent a32edd4b4c
commit 06e0744e9e
3 changed files with 23 additions and 16 deletions

View File

@@ -993,6 +993,13 @@ public class InputMethodManagerService extends IInputMethodManager.Stub
if (mCurMethod != null) {
try {
putSelectedInputMethodSubtype(info, subtypeId);
mCurrentSubtype = subtype;
if (mInputShown) {
// If mInputShown is false, there is no IME button on the
// system bar.
// Thus there is no need to make it invisible explicitly.
mStatusBar.setIMEButtonVisible(true);
}
mCurMethod.changeInputMethodSubtype(subtype);
} catch (RemoteException e) {
return;