aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinIME.java
diff options
context:
space:
mode:
authorKurt Partridge <kep@google.com>2012-04-12 17:13:52 -0700
committerKurt Partridge <kep@google.com>2012-04-12 22:59:21 -0700
commit60adb8757496fecb8f376a80832c176b35e43d06 (patch)
tree69ef5ec00cb00fb58fa745a7fb1d1dd41f31e6dd /java/src/com/android/inputmethod/latin/LatinIME.java
parent45213ed2a6e9a940ec540ff43ded7e877cb20dc9 (diff)
downloadlatinime-60adb8757496fecb8f376a80832c176b35e43d06.tar.gz
latinime-60adb8757496fecb8f376a80832c176b35e43d06.tar.xz
latinime-60adb8757496fecb8f376a80832c176b35e43d06.zip
clean up researchLogging of autocorrection
remove dependence of ResearchLogger on LatinImeLogger for autocorrection multi-project commit with I32cc134b Bug: 6188932 Change-Id: Iaeda97eb43fa4782db2d1b2a6d8d09a93b395111
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 7cdeef897..b587568c9 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -1783,6 +1783,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);