diff options
author | 2013-01-16 06:13:28 -0800 | |
---|---|---|
committer | 2013-01-17 07:46:06 -0800 | |
commit | 5213559e0e391c0f2c4a5c11a375e9580683ffaa (patch) | |
tree | 12cc9dd9736cbff388371fbcb8eebc19cfa18d0b /java/src/com/android/inputmethod/research/ResearchLogger.java | |
parent | 34b8856077220cfaa475a13d383bcc69ef470af4 (diff) | |
download | latinime-5213559e0e391c0f2c4a5c11a375e9580683ffaa.tar.gz latinime-5213559e0e391c0f2c4a5c11a375e9580683ffaa.tar.xz latinime-5213559e0e391c0f2c4a5c11a375e9580683ffaa.zip |
Fix commit partial text logStatement
- No longer suggests that it is called from a non-existent method
in RichInputConnection
Change-Id: I25fe4a0f232a4320ca113598bbcdd029ca319944
Diffstat (limited to 'java/src/com/android/inputmethod/research/ResearchLogger.java')
-rw-r--r-- | java/src/com/android/inputmethod/research/ResearchLogger.java | 10 |
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 8b6bff495..4cc769619 100644 --- a/java/src/com/android/inputmethod/research/ResearchLogger.java +++ b/java/src/com/android/inputmethod/research/ResearchLogger.java @@ -1475,20 +1475,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); } |