diff options
author | 2012-09-14 10:31:10 -0700 | |
---|---|---|
committer | 2012-09-14 10:31:10 -0700 | |
commit | d3e899cff6544252be58befd6eebdb5384dbb549 (patch) | |
tree | f4e14a847da3f890465ef7846ffb76ace11096c0 /java/src | |
parent | c10a5b967b9cf473e8ebe957d5531619989079c5 (diff) | |
parent | 813ddb42423e60be3af1e96a4ccb032b3f2a3af6 (diff) | |
download | latinime-d3e899cff6544252be58befd6eebdb5384dbb549.tar.gz latinime-d3e899cff6544252be58befd6eebdb5384dbb549.tar.xz latinime-d3e899cff6544252be58befd6eebdb5384dbb549.zip |
am 813ddb42: am b29efecd: Merge "Fix a bug with open parens and some other chars" into jb-mr1-dev
* commit '813ddb42423e60be3af1e96a4ccb032b3f2a3af6':
Fix a bug with open parens and some other chars
Diffstat (limited to 'java/src')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index 6a75f9d66..2b868fd2e 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -1752,7 +1752,8 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen swapSwapperAndSpace(); mSpaceState = SPACE_STATE_SWAP_PUNCTUATION; } else if (SPACE_STATE_PHANTOM == spaceState - && !mCurrentSettings.isWeakSpaceStripper(primaryCode)) { + && !mCurrentSettings.isWeakSpaceStripper(primaryCode) + && !mCurrentSettings.isPhantomSpacePromotingSymbol(primaryCode)) { // 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 // space. For example, if I type "Good dat", pick "day" from the suggestion strip |