aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinIME.java
diff options
context:
space:
mode:
authorKurt Partridge <kep@google.com>2012-08-20 10:18:24 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-08-20 10:18:30 -0700
commitadb591e75b9a28b0a9af1a35a366ecaa33f56abb (patch)
treea088934d451ddd0f7d9437ea990813db3c9d61bd /java/src/com/android/inputmethod/latin/LatinIME.java
parent7b0459e1a86a299880681ca6bc6522402930a101 (diff)
parent3d3590874926ff92009ed0b4f114c6e5a8ee7394 (diff)
downloadlatinime-adb591e75b9a28b0a9af1a35a366ecaa33f56abb.tar.gz
latinime-adb591e75b9a28b0a9af1a35a366ecaa33f56abb.tar.xz
latinime-adb591e75b9a28b0a9af1a35a366ecaa33f56abb.zip
Merge "Revert "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.java8
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 ea5cf2ae4..aa2f185e8 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