diff options
author | 2012-08-22 10:44:10 -0700 | |
---|---|---|
committer | 2012-08-22 10:44:10 -0700 | |
commit | 14dcfd41bc300921174cca986e32f58a6332d4bb (patch) | |
tree | 35d6e2fabfa7ffe618163b226729e739b3854152 /java/src/com/android/inputmethod/latin/LatinIME.java | |
parent | cb7feb42e99bedf3e1e8c286123ad424e02f1aaa (diff) | |
parent | 2763fab686088ce4b7acf99991705afe8ccebe33 (diff) | |
download | latinime-14dcfd41bc300921174cca986e32f58a6332d4bb.tar.gz latinime-14dcfd41bc300921174cca986e32f58a6332d4bb.tar.xz latinime-14dcfd41bc300921174cca986e32f58a6332d4bb.zip |
am 2763fab6: am d573bad5: Merge "ResearchLogging capture full n-gram data" into jb-mr1-dev
* commit '2763fab686088ce4b7acf99991705afe8ccebe33':
ResearchLogging capture full n-gram data
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 |