summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Satoshi Kataoka <satok@google.com> 2012-09-28 15:59:58 +0900
committer Satoshi Kataoka <satok@google.com> 2012-09-28 16:19:59 +0900
commitd08a9238db0de62c956788ceebb227d099ad88c2 (patch)
tree545954581a4e11a6c3f8ea7f220b13df3cc0d064
parent5e9187a3cf2a33e559212004795e1278eb60da81 (diff)
Fix ime swtich issue
Bug: 7250097 Change-Id: Ibe85aaf7d60e7c3a27363eece528d19a0c8ddca2
-rw-r--r--core/res/res/values-sw600dp/bools.xml2
-rw-r--r--services/java/com/android/server/InputMethodManagerService.java3
2 files changed, 4 insertions, 1 deletions
diff --git a/core/res/res/values-sw600dp/bools.xml b/core/res/res/values-sw600dp/bools.xml
index 751b99766698..2f65eabaa9f1 100644
--- a/core/res/res/values-sw600dp/bools.xml
+++ b/core/res/res/values-sw600dp/bools.xml
@@ -16,5 +16,5 @@
<resources>
<bool name="target_honeycomb_needs_options_menu">false</bool>
- <bool name="show_ongoing_ime_switcher">false</bool>
+ <bool name="show_ongoing_ime_switcher">true</bool>
</resources>
diff --git a/services/java/com/android/server/InputMethodManagerService.java b/services/java/com/android/server/InputMethodManagerService.java
index 0f2bb206520f..ec58e4378692 100644
--- a/services/java/com/android/server/InputMethodManagerService.java
+++ b/services/java/com/android/server/InputMethodManagerService.java
@@ -745,6 +745,9 @@ public class InputMethodManagerService extends IInputMethodManager.Stub
// set the current ime to the proper one.
resetDefaultImeLocked(mContext);
}
+ } else {
+ // If the locale is changed, needs to reset the default ime
+ resetDefaultImeLocked(mContext);
}
updateFromSettingsLocked();
mLastSystemLocale = newLocale;