fix potential crash

This commit is contained in:
Helium314 2023-11-04 12:05:23 +01:00
parent 6968488e45
commit aad8c68bf9

View file

@ -889,6 +889,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
mInputLogic.onSubtypeChanged(SubtypeLocaleUtils.getCombiningRulesExtraValue(subtype), mInputLogic.onSubtypeChanged(SubtypeLocaleUtils.getCombiningRulesExtraValue(subtype),
mSettings.getCurrent()); mSettings.getCurrent());
loadKeyboard(); loadKeyboard();
if (mSuggestionStripView != null)
mSuggestionStripView.setRtl(mRichImm.getCurrentSubtype().isRtlSubtype()); mSuggestionStripView.setRtl(mRichImm.getCurrentSubtype().isRtlSubtype());
} }