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

Commit e4022137 authored by Jean Chalard's avatar Jean Chalard Committed by The Android Automerger
Browse files

Remove an out-of-place check

Bug: 11584525
Change-Id: I76cc3e4ee21d62fbd56042adcf085efd5cafb53f
parent 70333380
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1457,7 +1457,6 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen

    private boolean maybeDoubleSpacePeriod() {
        final SettingsValues currentSettingsValues = mSettings.getCurrent();
        if (!currentSettingsValues.mCorrectionEnabled) return false;
        if (!currentSettingsValues.mUseDoubleSpacePeriod) return false;
        if (!mHandler.isAcceptingDoubleSpacePeriod()) return false;
        // We only do this when we see two spaces and an accepted code point before the cursor.