diff options
author | 2012-08-22 10:41:10 -0700 | |
---|---|---|
committer | 2012-08-22 10:41:10 -0700 | |
commit | d573bad5bdd83236efee9cac76898ed138fbe53c (patch) | |
tree | 35d6e2fabfa7ffe618163b226729e739b3854152 /java/src/com/android/inputmethod/latin/LatinIME.java | |
parent | 50e7501722427aabdd280201e5e1bbfaeac76fab (diff) | |
parent | bf653996eab40e2c66cfd2eaeb48ed5175b78455 (diff) | |
download | latinime-d573bad5bdd83236efee9cac76898ed138fbe53c.tar.gz latinime-d573bad5bdd83236efee9cac76898ed138fbe53c.tar.xz latinime-d573bad5bdd83236efee9cac76898ed138fbe53c.zip |
Merge "ResearchLogging capture full n-gram data" into jb-mr1-dev
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index 4d5f93b8f..df200cd0e 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -1261,11 +1261,6 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen } mLastKeyTime = when; mConnection.beginBatchEdit(); - - if (ProductionFlag.IS_EXPERIMENTAL) { - ResearchLogger.latinIME_onCodeInput(primaryCode, x, y); - } - final KeyboardSwitcher switcher = mKeyboardSwitcher; // The space state depends only on the last character pressed and its own previous // state. Here, we revert the space state to neutral if the key is actually modifying @@ -1347,6 +1342,9 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen mLastComposedWord.deactivate(); mEnteredText = null; mConnection.endBatchEdit(); + if (ProductionFlag.IS_EXPERIMENTAL) { + ResearchLogger.latinIME_onCodeInput(primaryCode, x, y); + } } // Called from PointerTracker through the KeyboardActionListener interface |