aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinIME.java
diff options
context:
space:
mode:
authorKurt Partridge <kep@google.com>2012-04-13 10:47:19 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-04-13 10:47:19 -0700
commit2783c51e6d4163c8d3f8b8c114b5d170d0b645fb (patch)
tree2bbc61a7820a604459a30d860489fbb0d83bdaa9 /java/src/com/android/inputmethod/latin/LatinIME.java
parentc206d0462354b3bf1ad0cec61534da567829555d (diff)
parent60adb8757496fecb8f376a80832c176b35e43d06 (diff)
downloadlatinime-2783c51e6d4163c8d3f8b8c114b5d170d0b645fb.tar.gz
latinime-2783c51e6d4163c8d3f8b8c114b5d170d0b645fb.tar.xz
latinime-2783c51e6d4163c8d3f8b8c114b5d170d0b645fb.zip
Merge "clean up researchLogging of autocorrection"
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinIME.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java
index 5a1ad2bd0..336929229 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -1787,6 +1787,10 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
+ "is empty? Impossible! I must commit suicide.");
}
Utils.Stats.onAutoCorrection(typedWord, autoCorrection.toString(), separatorCodePoint);
+ if (ProductionFlag.IS_EXPERIMENTAL) {
+ ResearchLogger.LatinIME_commitCurrentAutoCorrection(typedWord,
+ autoCorrection.toString());
+ }
mExpectingUpdateSelection = true;
commitChosenWord(autoCorrection, LastComposedWord.COMMIT_TYPE_DECIDED_WORD,
separatorCodePoint);