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:22:46 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2012-08-20 10:22:46 -0700
commit71f6d6c5160b2b7f1a60e68d45e677093a4b66b8 (patch)
tree77381e5b428a8d531b6f193fd6b50829dbecd1be /java/src/com/android/inputmethod/latin/LatinIME.java
parente49cc9ea043bb31e5b2d309f3e286ac79f4413e4 (diff)
parent8ec526e43d74b5b0603c18b0b3430bf91942d20c (diff)
downloadlatinime-71f6d6c5160b2b7f1a60e68d45e677093a4b66b8.tar.gz
latinime-71f6d6c5160b2b7f1a60e68d45e677093a4b66b8.tar.xz
latinime-71f6d6c5160b2b7f1a60e68d45e677093a4b66b8.zip
am 8ec526e4: am adb591e7: Merge "Revert "ResearchLogging capture full n-gram data"" into jb-mr1-dev
* commit '8ec526e43d74b5b0603c18b0b3430bf91942d20c': Revert "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.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