aboutsummaryrefslogtreecommitdiffstats
path: root/java/src
diff options
context:
space:
mode:
authorKurt Partridge <kep@google.com>2013-05-28 18:38:03 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-05-28 18:38:03 -0700
commitce1d432c2dc0dbd13ab841948e6653ae0ec9931c (patch)
tree128d8983dc87aa8838abe14c3e787f75c11e7dfc /java/src
parent4acf46e3ad1290bb398852ecd0d7fe7eff41aef9 (diff)
parent305509ed2feffa5c57cd21bb7cc137e444df3390 (diff)
downloadlatinime-ce1d432c2dc0dbd13ab841948e6653ae0ec9931c.tar.gz
latinime-ce1d432c2dc0dbd13ab841948e6653ae0ec9931c.tar.xz
latinime-ce1d432c2dc0dbd13ab841948e6653ae0ec9931c.zip
am 305509ed: Merge "Remove unused method"
* commit '305509ed2feffa5c57cd21bb7cc137e444df3390': Remove unused method
Diffstat (limited to 'java/src')
-rw-r--r--java/src/com/android/inputmethod/research/ResearchLogger.java19
1 files changed, 0 insertions, 19 deletions
diff --git a/java/src/com/android/inputmethod/research/ResearchLogger.java b/java/src/com/android/inputmethod/research/ResearchLogger.java
index a87af6b91..56ab90cb4 100644
--- a/java/src/com/android/inputmethod/research/ResearchLogger.java
+++ b/java/src/com/android/inputmethod/research/ResearchLogger.java
@@ -1618,25 +1618,6 @@ public class ResearchLogger implements SharedPreferences.OnSharedPreferenceChang
}
private boolean isExpectingCommitText = false;
- /**
- * 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_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_COMMIT_PARTIAL_TEXT);
- researchLogger.mStatistics.recordAutoCorrection(SystemClock.uptimeMillis());
- researchLogger.commitCurrentLogUnitAsWord(scrubbedWord, lastTimestampOfWordData,
- isBatchMode);
- }
/**
* Log a call to RichInputConnection.commitText().