Skip to content

Commit d08a923

Browse files
committed
Fix ime swtich issue
Bug: 7250097 Change-Id: Ibe85aaf7d60e7c3a27363eece528d19a0c8ddca2
1 parent 5e9187a commit d08a923

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

core/res/res/values-sw600dp/bools.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@
1616

1717
<resources>
1818
<bool name="target_honeycomb_needs_options_menu">false</bool>
19-
<bool name="show_ongoing_ime_switcher">false</bool>
19+
<bool name="show_ongoing_ime_switcher">true</bool>
2020
</resources>

services/java/com/android/server/InputMethodManagerService.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -745,6 +745,9 @@ private void resetAllInternalStateLocked(boolean updateOnlyWhenLocaleChanged) {
745745
// set the current ime to the proper one.
746746
resetDefaultImeLocked(mContext);
747747
}
748+
} else {
749+
// If the locale is changed, needs to reset the default ime
750+
resetDefaultImeLocked(mContext);
748751
}
749752
updateFromSettingsLocked();
750753
mLastSystemLocale = newLocale;

0 commit comments

Comments
 (0)