diff options
author | 2013-05-31 22:01:05 -0700 | |
---|---|---|
committer | 2013-06-01 11:15:47 -0700 | |
commit | 4165ef031fbcd1c6e4f64d6190be99d1aa6df067 (patch) | |
tree | 8cfc62dcfd17773b51bd7cf5b22518be2293b53f | |
parent | a0c3e02d7168dd4cee4cad51491537dadb0362cc (diff) | |
download | latinime-4165ef031fbcd1c6e4f64d6190be99d1aa6df067.tar.gz latinime-4165ef031fbcd1c6e4f64d6190be99d1aa6df067.tar.xz latinime-4165ef031fbcd1c6e4f64d6190be99d1aa6df067.zip |
Remove uncommit on reverting batch input
Currently when the user reverts a batch input, a LogUnit is uncommitted
from the LogBuffer. It should not be, because the LogUnit containing the
batch input is never committed in the first place (it is only committed
to the LogBuffer when a key is pressed or a new batch input is entered).
Bug: 9088919
Change-Id: I323af453ce082437a663ccae977b21b775a964bc
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index c9a42a3a4..56f957f11 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -1797,8 +1797,6 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen if (ProductionFlag.USES_DEVELOPMENT_ONLY_DIAGNOSTICS) { final String word = mWordComposer.getTypedWord(); ResearchLogger.latinIME_handleBackspace_batch(word, 1); - ResearchLogger.getInstance().uncommitCurrentLogUnit( - word, false /* dumpCurrentLogUnit */); } final String rejectedSuggestion = mWordComposer.getTypedWord(); mWordComposer.reset(); |