Fix an obvious bug in handleLanguageSwitchKey()
bug: 5759092 Change-Id: I8c7b2ef024cbab399d96f6b3ec553da4e9d2fb18
This commit is contained in:
parent
1ce5ff63b1
commit
c1ca8815f5
1 changed files with 1 additions and 1 deletions
|
@ -1284,7 +1284,7 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
|
||||||
}
|
}
|
||||||
|
|
||||||
private void handleLanguageSwitchKey() {
|
private void handleLanguageSwitchKey() {
|
||||||
final boolean includesOtherImes = !mSettingsValues.mIncludesOtherImesInLanguageSwitchList;
|
final boolean includesOtherImes = mSettingsValues.mIncludesOtherImesInLanguageSwitchList;
|
||||||
final IBinder token = getWindow().getWindow().getAttributes().token;
|
final IBinder token = getWindow().getWindow().getAttributes().token;
|
||||||
if (mShouldSwitchToLastSubtype) {
|
if (mShouldSwitchToLastSubtype) {
|
||||||
final InputMethodSubtypeCompatWrapper lastSubtype = mImm.getLastInputMethodSubtype();
|
final InputMethodSubtypeCompatWrapper lastSubtype = mImm.getLastInputMethodSubtype();
|
||||||
|
|
Loading…
Reference in a new issue