aboutsummaryrefslogtreecommitdiffstats
path: root/java/src
diff options
context:
space:
mode:
authorKurt Partridge <kep@google.com>2013-01-17 19:15:31 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-01-17 19:15:32 +0000
commitf881f10e90e15c6f013c500d56fda9f8220570a7 (patch)
treee78ed6f9e741fa80ca6a5520d7c98e7fd9b7918c /java/src
parent34ecd12a058cbc9756e7f323b264a27acb378206 (diff)
parent5213559e0e391c0f2c4a5c11a375e9580683ffaa (diff)
downloadlatinime-f881f10e90e15c6f013c500d56fda9f8220570a7.tar.gz
latinime-f881f10e90e15c6f013c500d56fda9f8220570a7.tar.xz
latinime-f881f10e90e15c6f013c500d56fda9f8220570a7.zip
Merge "Fix commit partial text logStatement"
Diffstat (limited to 'java/src')
-rw-r--r--java/src/com/android/inputmethod/research/ResearchLogger.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/java/src/com/android/inputmethod/research/ResearchLogger.java b/java/src/com/android/inputmethod/research/ResearchLogger.java
index 79a11fbaf..d524c5897 100644
--- a/java/src/com/android/inputmethod/research/ResearchLogger.java
+++ b/java/src/com/android/inputmethod/research/ResearchLogger.java
@@ -1480,20 +1480,20 @@ public class ResearchLogger implements SharedPreferences.OnSharedPreferenceChang
private boolean isExpectingCommitText = false;
/**
- * Log a call to RichInputConnection.commitPartialText
+ * Log a call to (UnknownClass).commitPartialText
*
* SystemResponse: The IME is committing part of a word. This happens if a space is
* automatically inserted to split a single typed string into two or more words.
*/
// TODO: This method is currently unused. Find where it should be called from in the IME and
// add invocations.
- private static final LogStatement LOGSTATEMENT_LATINIME_COMMIT_PARTIAL_TEXT =
- new LogStatement("LatinIMECommitPartialText", true, false, "newCursorPosition");
- public static void latinIME_commitPartialText(final String committedWord,
+ private static final LogStatement LOGSTATEMENT_COMMIT_PARTIAL_TEXT =
+ new LogStatement("CommitPartialText", true, false, "newCursorPosition");
+ public static void commitPartialText(final String committedWord,
final long lastTimestampOfWordData, final boolean isBatchMode) {
final ResearchLogger researchLogger = getInstance();
final String scrubbedWord = scrubDigitsFromString(committedWord);
- researchLogger.enqueueEvent(LOGSTATEMENT_LATINIME_COMMIT_PARTIAL_TEXT);
+ researchLogger.enqueueEvent(LOGSTATEMENT_COMMIT_PARTIAL_TEXT);
researchLogger.commitCurrentLogUnitAsWord(scrubbedWord, lastTimestampOfWordData,
isBatchMode);
}