| commit | 06e0744e9e1a04a07e2e1bf9279124223bd674da | [log] [tgz] |
|---|---|---|
| author | satok <satok@google.com> | Tue Nov 02 19:46:55 2010 +0900 |
| committer | satok <satok@google.com> | Tue Nov 02 20:11:28 2010 +0900 |
| tree | cb49e74d155383a1295e7b9b36968322db0ae8f1 | |
| parent | a32edd4b4c894f4fb3d9fd7e9d5b80321df79e20 [diff] [blame] |
Update the subtype icon properly. Change-Id: Ib89959d1ea13f1e6f56e6280f90532e6695c4a00
diff --git a/services/java/com/android/server/InputMethodManagerService.java b/services/java/com/android/server/InputMethodManagerService.java index 20e8bbe..155c397 100644 --- a/services/java/com/android/server/InputMethodManagerService.java +++ b/services/java/com/android/server/InputMethodManagerService.java
@@ -993,6 +993,13 @@ 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;