aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinIME.java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2014-08-18 20:20:20 +0900
committerJean Chalard <jchalard@google.com>2014-08-22 16:34:27 +0900
commit8ffe4bc9321e582a4d882f21e465d5886616f489 (patch)
treed87b69289b18a68d39a289e1e66ded06da583253 /java/src/com/android/inputmethod/latin/LatinIME.java
parent5a96395b78df7e201c580515ec9f54609a474a2d (diff)
downloadlatinime-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.java3
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();
}