mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Allow double-space-to-period after percent
Bug: 11158604 Change-Id: If8c94ef91ed58bb5028f51be7c8d9beb677436a4
This commit is contained in:
parent
d733aadb8e
commit
7e6ac9d727
@ -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 = '}';
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user