Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
...@@ -1284,7 +1284,7 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar ...@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment