Skip to content
Snippets Groups Projects
Commit 5213559e authored by Kurt Partridge's avatar Kurt Partridge
Browse files

Fix commit partial text logStatement

- No longer suggests that it is called from a non-existent method
  in RichInputConnection

Change-Id: I25fe4a0f232a4320ca113598bbcdd029ca319944
parent 34b88560
No related branches found
No related tags found
No related merge requests found
...@@ -1475,20 +1475,20 @@ public class ResearchLogger implements SharedPreferences.OnSharedPreferenceChang ...@@ -1475,20 +1475,20 @@ public class ResearchLogger implements SharedPreferences.OnSharedPreferenceChang
private boolean isExpectingCommitText = false; 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 * 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. * 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 // TODO: This method is currently unused. Find where it should be called from in the IME and
// add invocations. // add invocations.
private static final LogStatement LOGSTATEMENT_LATINIME_COMMIT_PARTIAL_TEXT = private static final LogStatement LOGSTATEMENT_COMMIT_PARTIAL_TEXT =
new LogStatement("LatinIMECommitPartialText", true, false, "newCursorPosition"); new LogStatement("CommitPartialText", true, false, "newCursorPosition");
public static void latinIME_commitPartialText(final String committedWord, public static void commitPartialText(final String committedWord,
final long lastTimestampOfWordData, final boolean isBatchMode) { final long lastTimestampOfWordData, final boolean isBatchMode) {
final ResearchLogger researchLogger = getInstance(); final ResearchLogger researchLogger = getInstance();
final String scrubbedWord = scrubDigitsFromString(committedWord); final String scrubbedWord = scrubDigitsFromString(committedWord);
researchLogger.enqueueEvent(LOGSTATEMENT_LATINIME_COMMIT_PARTIAL_TEXT); researchLogger.enqueueEvent(LOGSTATEMENT_COMMIT_PARTIAL_TEXT);
researchLogger.commitCurrentLogUnitAsWord(scrubbedWord, lastTimestampOfWordData, researchLogger.commitCurrentLogUnitAsWord(scrubbedWord, lastTimestampOfWordData,
isBatchMode); isBatchMode);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment