mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Merge "Fix SubtypeSwitcher incomplete initialization" into jb-dev
This commit is contained in:
commit
45c57dcc2d
@ -182,12 +182,13 @@ public class SubtypeSwitcher {
|
||||
+ newSubtype.getLocale() + "/" + newSubtype.getExtraValue() + ", from: "
|
||||
+ mCurrentSubtype.getLocale() + "/" + mCurrentSubtype.getExtraValue());
|
||||
}
|
||||
if (newSubtype.equals(mCurrentSubtype)) return;
|
||||
|
||||
final Locale newLocale = SubtypeLocale.getSubtypeLocale(newSubtype);
|
||||
mNeedsToDisplayLanguage.updateIsSystemLanguageSameAsInputLanguage(
|
||||
mCurrentSystemLocale.equals(newLocale));
|
||||
|
||||
if (newSubtype.equals(mCurrentSubtype)) return;
|
||||
|
||||
mCurrentSubtype = newSubtype;
|
||||
updateShortcutIME();
|
||||
mService.onRefreshKeyboard();
|
||||
|
Loading…
x
Reference in New Issue
Block a user