aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKurt Partridge <kep@google.com>2013-05-29 01:34:24 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-05-29 01:36:27 +0000
commit305509ed2feffa5c57cd21bb7cc137e444df3390 (patch)
tree128d8983dc87aa8838abe14c3e787f75c11e7dfc
parent215fabff523b1399b4aafaa09476747561d2127b (diff)
parentb536e2ace51a732183cd2738dd69b784455f52ce (diff)
downloadlatinime-305509ed2feffa5c57cd21bb7cc137e444df3390.tar.gz
latinime-305509ed2feffa5c57cd21bb7cc137e444df3390.tar.xz
latinime-305509ed2feffa5c57cd21bb7cc137e444df3390.zip
Merge "Remove unused method"
-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().