am 5779bc91: Merge "Split LogUnits differently."
* commit '5779bc91e6d425dc42e444a11057dd286e736203': Split LogUnits differently.main
commit
228d45337b
|
@ -1636,8 +1636,7 @@ public class ResearchLogger implements SharedPreferences.OnSharedPreferenceChang
|
||||||
final String scrubbedAutoCorrection = scrubDigitsFromString(autoCorrection);
|
final String scrubbedAutoCorrection = scrubDigitsFromString(autoCorrection);
|
||||||
final ResearchLogger researchLogger = getInstance();
|
final ResearchLogger researchLogger = getInstance();
|
||||||
researchLogger.mCurrentLogUnit.initializeSuggestions(suggestedWords);
|
researchLogger.mCurrentLogUnit.initializeSuggestions(suggestedWords);
|
||||||
researchLogger.commitCurrentLogUnitAsWord(scrubbedAutoCorrection, Long.MAX_VALUE,
|
researchLogger.onWordFinished(scrubbedAutoCorrection, isBatchMode);
|
||||||
isBatchMode);
|
|
||||||
|
|
||||||
// Add the autocorrection logStatement at the end of the logUnit for the committed word.
|
// Add the autocorrection logStatement at the end of the logUnit for the committed word.
|
||||||
// We have to do this after calling commitCurrentLogUnitAsWord, because it may split the
|
// We have to do this after calling commitCurrentLogUnitAsWord, because it may split the
|
||||||
|
|
Loading…
Reference in New Issue