mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-04-21 14:49:10 +00:00
fix potential crash
This commit is contained in:
parent
6968488e45
commit
aad8c68bf9
1 changed files with 2 additions and 1 deletions
|
@ -889,7 +889,8 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
|
|||
mInputLogic.onSubtypeChanged(SubtypeLocaleUtils.getCombiningRulesExtraValue(subtype),
|
||||
mSettings.getCurrent());
|
||||
loadKeyboard();
|
||||
mSuggestionStripView.setRtl(mRichImm.getCurrentSubtype().isRtlSubtype());
|
||||
if (mSuggestionStripView != null)
|
||||
mSuggestionStripView.setRtl(mRichImm.getCurrentSubtype().isRtlSubtype());
|
||||
}
|
||||
|
||||
/** alias to onCurrentInputMethodSubtypeChanged with a better name, as it's also used for internal switching */
|
||||
|
|
Loading…
Add table
Reference in a new issue