diff options
author | 2012-08-20 10:17:40 -0700 | |
---|---|---|
committer | 2012-08-20 10:17:40 -0700 | |
commit | 3d3590874926ff92009ed0b4f114c6e5a8ee7394 (patch) | |
tree | 99930ffdfc9057a570068dac679acbaf336fed7a /java/src/com/android/inputmethod/latin/LatinIME.java | |
parent | 221e756fd7d585f0eb75377b851f23cad24ccd7f (diff) | |
download | latinime-3d3590874926ff92009ed0b4f114c6e5a8ee7394.tar.gz latinime-3d3590874926ff92009ed0b4f114c6e5a8ee7394.tar.xz latinime-3d3590874926ff92009ed0b4f114c6e5a8ee7394.zip |
Revert "ResearchLogging capture full n-gram data"
This reverts commit 221e756fd7d585f0eb75377b851f23cad24ccd7f
Change-Id: Iefc4e4e27ddc925d4a4634627b0467bd4ee2a66e
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, 5 insertions, 3 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index bf3501925..a4c82c9f7 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -1247,6 +1247,11 @@ 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 @@ -1328,9 +1333,6 @@ 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 |