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

Commit fb3e8057 authored by Jean Chalard's avatar Jean Chalard Committed by Android (Google) Code Review
Browse files

Merge "Fix a bug where a space would not be inserted before a gesture"

parents c7d41589 30b8004b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1540,7 +1540,8 @@ public final class LatinIME extends InputMethodService implements KeyboardAction
            }
        } else {
            final int codePointBeforeCursor = mConnection.getCodePointBeforeCursor();
            if (mSettings.getCurrent().isUsuallyFollowedBySpace(codePointBeforeCursor)) {
            if (Character.isLetter(codePointBeforeCursor)
                    || mSettings.getCurrent().isUsuallyFollowedBySpace(codePointBeforeCursor)) {
                mSpaceState = SPACE_STATE_PHANTOM;
            }
        }