diff options
author | 2014-08-25 04:42:15 +0000 | |
---|---|---|
committer | 2014-08-25 04:42:15 +0000 | |
commit | 85ddfe1317a4475269e53f62c2338c335e02e839 (patch) | |
tree | d87b69289b18a68d39a289e1e66ded06da583253 /java/src/com/android/inputmethod/latin/LatinIME.java | |
parent | a63d0a8ee6cb05bcddb69bf9a6018853d89d886a (diff) | |
download | latinime-85ddfe1317a4475269e53f62c2338c335e02e839.tar.gz latinime-85ddfe1317a4475269e53f62c2338c335e02e839.tar.xz latinime-85ddfe1317a4475269e53f62c2338c335e02e839.zip |
Revert "Revert "[ML1] Introduce RichInputMethodSubtype""
This reverts commit a63d0a8ee6cb05bcddb69bf9a6018853d89d886a.
This patch seems to be fine after all, but was submitted without its companion [ML1.1] patch causing a build breakage. Reverting the revert and submitting both at the same time seems like the right thing to do.
Change-Id: Ib8fefa40b74dcee0edb025a52dac9b35c82d49df
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(); } |