mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Fix a crash when starting up LatinIME or changing orientation. Bug:2403575
This commit is contained in:
parent
a16ff1b19e
commit
b8f98ad014
@ -793,7 +793,9 @@ public class LatinIME extends InputMethodService
|
||||
}
|
||||
mKeyboardSwitcher.setInputLocale(new Locale(mInputLanguage),
|
||||
getSelectedInputLanguages() != null);
|
||||
mKeyboardSwitcher.setVoiceMode(mEnableVoice, mVoiceOnPrimary);
|
||||
if (mInputView != null) {
|
||||
mKeyboardSwitcher.setVoiceMode(mEnableVoice, mVoiceOnPrimary);
|
||||
}
|
||||
mKeyboardSwitcher.makeKeyboards(true);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user