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

Commit 4721427c authored by Jean Chalard's avatar Jean Chalard
Browse files

Allow revert swap punctuation again

This may not be the best behavior, but it's the same as ICS.
Bug: 5981844

Change-Id: Ibb7798e2a315312310ed3be4e731d0fe1ac04456
parent 7ef97ea1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1654,7 +1654,7 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
        } else {
            if (swapWeakSpace) {
                swapSwapperAndSpaceWhileInBatchEdit(ic);
                mSpaceState = SPACE_STATE_WEAK;
                mSpaceState = SPACE_STATE_SWAP_PUNCTUATION;
            } else if (SPACE_STATE_PHANTOM == spaceState) {
                // If we are in phantom space state, and the user presses a separator, we want to
                // stay in phantom space state so that the next keypress has a chance to add the