Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c1ca8815 authored by Ken Wakasa's avatar Ken Wakasa
Browse files

Fix an obvious bug in handleLanguageSwitchKey()

bug: 5759092

Change-Id: I8c7b2ef024cbab399d96f6b3ec553da4e9d2fb18
parent 1ce5ff63
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1284,7 +1284,7 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
    }

    private void handleLanguageSwitchKey() {
        final boolean includesOtherImes = !mSettingsValues.mIncludesOtherImesInLanguageSwitchList;
        final boolean includesOtherImes = mSettingsValues.mIncludesOtherImesInLanguageSwitchList;
        final IBinder token = getWindow().getWindow().getAttributes().token;
        if (mShouldSwitchToLastSubtype) {
            final InputMethodSubtypeCompatWrapper lastSubtype = mImm.getLastInputMethodSubtype();