Merge "Remove unnecessary commit/uncommit"
commit
17b63ba588
|
@ -2582,8 +2582,6 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
|
|||
if (ProductionFlag.USES_DEVELOPMENT_ONLY_DIAGNOSTICS) {
|
||||
ResearchLogger.latinIME_revertCommit(committedWord, originallyTypedWord,
|
||||
mWordComposer.isBatchMode(), mLastComposedWord.mSeparatorString);
|
||||
ResearchLogger.getInstance().uncommitCurrentLogUnit(committedWord,
|
||||
true /* dumpCurrentLogUnit */);
|
||||
}
|
||||
// Don't restart suggestion yet. We'll restart if the user deletes the
|
||||
// separator.
|
||||
|
|
|
@ -1418,7 +1418,6 @@ public class ResearchLogger implements SharedPreferences.OnSharedPreferenceChang
|
|||
logUnit.setContainsCorrection();
|
||||
}
|
||||
researchLogger.mStatistics.recordRevertCommit(SystemClock.uptimeMillis());
|
||||
researchLogger.commitCurrentLogUnitAsWord(originallyTypedWord, Long.MAX_VALUE, isBatchMode);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue