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

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

Merge "Remove unnecessary commit/uncommit"

parents 7af5300c 993acbaa
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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.
+0 −1
Original line number Diff line number Diff line
@@ -1418,7 +1418,6 @@ public class ResearchLogger implements SharedPreferences.OnSharedPreferenceChang
            logUnit.setContainsCorrection();
        }
        researchLogger.mStatistics.recordRevertCommit(SystemClock.uptimeMillis());
        researchLogger.commitCurrentLogUnitAsWord(originallyTypedWord, Long.MAX_VALUE, isBatchMode);
    }

    /**