fixed Hiragana and Katakana being incorrectly enabled in numeric fields
This commit is contained in:
parent
d2fa8911da
commit
8a960713ab
1 changed files with 5 additions and 3 deletions
|
|
@ -319,9 +319,11 @@ public abstract class TypingHandler extends KeyPadHandler {
|
|||
* Since Japanese is unique with its 3 alphabets, we need to setup the input modes separately.
|
||||
*/
|
||||
private void determineJapaneseInputModes() {
|
||||
if (allowedInputModes.contains(InputMode.MODE_ABC)) {
|
||||
allowedInputModes.remove((Integer) InputMode.MODE_ABC);
|
||||
allowedInputModes.add(InputMode.MODE_HIRAGANA);
|
||||
allowedInputModes.add(InputMode.MODE_KATAKANA);
|
||||
allowedInputModes.remove((Integer) InputMode.MODE_ABC);
|
||||
}
|
||||
if (!settings.getPredictiveMode()) {
|
||||
allowedInputModes.remove((Integer) InputMode.MODE_PREDICTIVE);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue