diff options
author | 2015-02-23 19:11:14 +0000 | |
---|---|---|
committer | 2015-02-23 19:11:15 +0000 | |
commit | 53b4bfdba01477860993bff29eefc337e3fd1d99 (patch) | |
tree | fd5ddc1f29ffa373a266b87646df188166cf7352 /java | |
parent | 08f3cdb3c87e56ac62f5ac3c573beade592b4b06 (diff) | |
parent | 40833d2dd79b193efd33036417ad1909273d9f7d (diff) | |
download | latinime-53b4bfdba01477860993bff29eefc337e3fd1d99.tar.gz latinime-53b4bfdba01477860993bff29eefc337e3fd1d99.tar.xz latinime-53b4bfdba01477860993bff29eefc337e3fd1d99.zip |
Merge "Add StatsUtils method for handling subtype change."
Diffstat (limited to 'java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index e37f20f09..550efa59f 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -793,6 +793,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. + InputMethodSubtype oldSubtype = mRichImm.getCurrentSubtype().getRawSubtype(); + StatsUtils.onSubtypeChanged(oldSubtype, subtype); mRichImm.onSubtypeChanged(subtype); mInputLogic.onSubtypeChanged(SubtypeLocaleUtils.getCombiningRulesExtraValue(subtype), mSettings.getCurrent()); |