fixed a crash on Android 5 and 6 when switching between languages and Korean is enabled
This commit is contained in:
parent
8aeceefeb1
commit
35939d93f2
1 changed files with 2 additions and 2 deletions
|
|
@ -295,8 +295,8 @@ public abstract class TypingHandler extends KeyPadHandler {
|
|||
}
|
||||
|
||||
allowedInputModes = new ArrayList<>(inputType.determineInputModes(getApplicationContext()));
|
||||
if (LanguageKind.isKorean(mLanguage) && allowedInputModes.contains(InputMode.MODE_ABC)) {
|
||||
allowedInputModes.remove(InputMode.MODE_ABC);
|
||||
if (LanguageKind.isKorean(mLanguage)) {
|
||||
allowedInputModes.remove((Integer) InputMode.MODE_ABC);
|
||||
}
|
||||
|
||||
return InputModeValidator.validateMode(settings.getInputMode(), allowedInputModes);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue