am 7e6ac9d7: Allow double-space-to-period after percent

* commit '7e6ac9d7270592944f04318ea1ae00e4bee28b19':
  Allow double-space-to-period after percent
main
Jean Chalard 2013-10-10 08:31:39 -07:00 committed by Android Git Automerger
commit 6e9a2c2b1c
2 changed files with 2 additions and 0 deletions

View File

@ -174,6 +174,7 @@ public final class Constants {
public static final int CODE_SLASH = '/';
public static final int CODE_COMMERCIAL_AT = '@';
public static final int CODE_PLUS = '+';
public static final int CODE_PERCENT = '%';
public static final int CODE_CLOSING_PARENTHESIS = ')';
public static final int CODE_CLOSING_SQUARE_BRACKET = ']';
public static final int CODE_CLOSING_CURLY_BRACKET = '}';

View File

@ -1503,6 +1503,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
|| codePoint == Constants.CODE_CLOSING_CURLY_BRACKET
|| codePoint == Constants.CODE_CLOSING_ANGLE_BRACKET
|| codePoint == Constants.CODE_PLUS
|| codePoint == Constants.CODE_PERCENT
|| Character.getType(codePoint) == Character.OTHER_SYMBOL;
}