aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin
diff options
context:
space:
mode:
authorKurt Partridge <kep@google.com>2012-08-22 10:42:43 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2012-08-22 10:42:43 -0700
commit2763fab686088ce4b7acf99991705afe8ccebe33 (patch)
tree35d6e2fabfa7ffe618163b226729e739b3854152 /java/src/com/android/inputmethod/latin
parent64f8723a507be3a855af935c51f954a3528ccac6 (diff)
parentd573bad5bdd83236efee9cac76898ed138fbe53c (diff)
downloadlatinime-2763fab686088ce4b7acf99991705afe8ccebe33.tar.gz
latinime-2763fab686088ce4b7acf99991705afe8ccebe33.tar.xz
latinime-2763fab686088ce4b7acf99991705afe8ccebe33.zip
am d573bad5: Merge "ResearchLogging capture full n-gram data" into jb-mr1-dev
* commit 'd573bad5bdd83236efee9cac76898ed138fbe53c': ResearchLogging capture full n-gram data
Diffstat (limited to 'java/src/com/android/inputmethod/latin')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinIME.java8
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