diff options
author | 2015-02-23 19:18:13 +0000 | |
---|---|---|
committer | 2015-02-23 19:18:13 +0000 | |
commit | fd35422dfa3b738efa08c48970feb82c7d79d010 (patch) | |
tree | 1a721b3b6cd753431753e34807e4b79399ba6556 /java/src | |
parent | 3466a3bd7e2b9e9a57013533ed08c8e08bc19b33 (diff) | |
parent | 53b4bfdba01477860993bff29eefc337e3fd1d99 (diff) | |
download | latinime-fd35422dfa3b738efa08c48970feb82c7d79d010.tar.gz latinime-fd35422dfa3b738efa08c48970feb82c7d79d010.tar.xz latinime-fd35422dfa3b738efa08c48970feb82c7d79d010.zip |
am 53b4bfdb: Merge "Add StatsUtils method for handling subtype change."
* commit '53b4bfdba01477860993bff29eefc337e3fd1d99':
Add StatsUtils method for handling subtype change.
Diffstat (limited to 'java/src')
-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()); |