mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-06-03 13:20:31 +00:00
consider implicitly enabled subtypes when switching with language switch button
fixes GH-1608
This commit is contained in:
parent
7da068145f
commit
b44dd29b0c
1 changed files with 1 additions and 1 deletions
|
@ -1461,7 +1461,7 @@ public class LatinIME extends InputMethodService implements
|
|||
// switch IME if wanted and possible
|
||||
if (switchIme && !switchSubtype && switchInputMethod())
|
||||
return;
|
||||
final boolean hasMoreThanOneSubtype = mRichImm.getMyEnabledInputMethodSubtypeList(false).size() > 1;
|
||||
final boolean hasMoreThanOneSubtype = mRichImm.getMyEnabledInputMethodSubtypeList(true).size() > 1;
|
||||
// switch subtype if wanted, do nothing if no other subtype is available
|
||||
if (switchSubtype && !switchIme) {
|
||||
if (hasMoreThanOneSubtype)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue