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

Commit 33fdb46b authored by Chieu Nguyen's avatar Chieu Nguyen Committed by Android Git Automerger
Browse files

am 98886775: Merge "Handle double space inserting a period."

* commit '98886775':
  Handle double space inserting a period.
parents 35a9bdbe 98886775
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -83,6 +83,9 @@ public final class StatsUtils {
            final String commitWord, final boolean isBatchMode) {
    }

    public static void onDoubleSpacePeriod() {
    }

    public static void onLoadSettings(SettingsValues settingsValues) {
    }

+1 −0
Original line number Diff line number Diff line
@@ -925,6 +925,7 @@ public final class InputLogic {
        if (tryPerformDoubleSpacePeriod(event, inputTransaction)) {
            mSpaceState = SpaceState.DOUBLE;
            inputTransaction.setRequiresUpdateSuggestions();
            StatsUtils.onDoubleSpacePeriod();
        } else if (swapWeakSpace && trySwapSwapperAndSpace(event, inputTransaction)) {
            mSpaceState = SpaceState.SWAP_PUNCTUATION;
            mSuggestionStripViewAccessor.setNeutralSuggestionStrip();