diff options
author | 2012-04-11 18:21:10 +0900 | |
---|---|---|
committer | 2012-04-13 18:36:26 +0900 | |
commit | f6972561fcb45310f18230ce217f0c6bb57e7eee (patch) | |
tree | 85d9a39c849a394c1d7f04a8aa2415ebdcee02cb /java/src/com/android/inputmethod/latin/LatinIME.java | |
parent | f338f8b50d276cfed2bafe6856792c675087ad15 (diff) | |
download | latinime-f6972561fcb45310f18230ce217f0c6bb57e7eee.tar.gz latinime-f6972561fcb45310f18230ce217f0c6bb57e7eee.tar.xz latinime-f6972561fcb45310f18230ce217f0c6bb57e7eee.zip |
Utilize InputMethodSubtype and additional subtype
* Remove de_QY and fr_CH from supported subtypes
* Add de-qwerty and fr-qwertz predefined additional subtypes instead.
Change-Id: I49e8ba0299529302f2b91b4d018b07304cdd6897
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index 187252a31..1ab461e3f 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -439,6 +439,10 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen loadSettings(); + mImm.setAdditionalInputMethodSubtypes( + SubtypeUtils.getInputMethodId(getPackageName()), + mSettingsValues.getPrefefinedAdditionalSubtypes()); + // TODO: remove the following when it's not needed by updateCorrectionMode() any more mInputAttributes = new InputAttributes(null, false /* isFullscreenMode */); updateCorrectionMode(); |