Skip to content

Commit 3cd9612

Browse files
satok16Android (Google) Code Review
authored andcommitted
Merge "Fix ime swtich issue" into jb-mr1-dev
2 parents 08874db + d08a923 commit 3cd9612

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)