diff options
author | 2014-08-18 20:20:20 +0900 | |
---|---|---|
committer | 2014-08-22 16:34:27 +0900 | |
commit | 8ffe4bc9321e582a4d882f21e465d5886616f489 (patch) | |
tree | d87b69289b18a68d39a289e1e66ded06da583253 /java/src/com/android/inputmethod/latin/LatinIME.java | |
parent | 5a96395b78df7e201c580515ec9f54609a474a2d (diff) | |
download | latinime-8ffe4bc9321e582a4d882f21e465d5886616f489.tar.gz latinime-8ffe4bc9321e582a4d882f21e465d5886616f489.tar.xz latinime-8ffe4bc9321e582a4d882f21e465d5886616f489.zip |
[ML1] Introduce RichInputMethodSubtype
Bug: 11230254
Change-Id: Ic7a1bf938a5a186dcff527b556295aba2406e8b9
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index b4d6ca736..2a2bbdff4 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -747,7 +747,8 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen public void onCurrentInputMethodSubtypeChanged(final InputMethodSubtype subtype) { // Note that the calling sequence of onCreate() and onCurrentInputMethodSubtypeChanged() // is not guaranteed. It may even be called at the same time on a different thread. - mSubtypeSwitcher.onSubtypeChanged(subtype); + final RichInputMethodSubtype richSubtype = new RichInputMethodSubtype(subtype); + mSubtypeSwitcher.onSubtypeChanged(richSubtype); mInputLogic.onSubtypeChanged(SubtypeLocaleUtils.getCombiningRulesExtraValue(subtype)); loadKeyboard(); } |