Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5779bc91 authored by Kurt Partridge's avatar Kurt Partridge Committed by Android (Google) Code Review
Browse files

Merge "Split LogUnits differently."

parents 02fc1ed5 189be519
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1636,8 +1636,7 @@ public class ResearchLogger implements SharedPreferences.OnSharedPreferenceChang
        final String scrubbedAutoCorrection = scrubDigitsFromString(autoCorrection);
        final ResearchLogger researchLogger = getInstance();
        researchLogger.mCurrentLogUnit.initializeSuggestions(suggestedWords);
        researchLogger.commitCurrentLogUnitAsWord(scrubbedAutoCorrection, Long.MAX_VALUE,
                isBatchMode);
        researchLogger.onWordFinished(scrubbedAutoCorrection, isBatchMode);

        // 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