Loading java/src/com/android/inputmethod/latin/LatinIME.java +3 −3 Original line number Diff line number Diff line Loading @@ -873,10 +873,10 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen } private void switchToNextInputMethod() { final IBinder token = getWindow().getAttributes().token; final IBinder token = getWindow().getWindow().getAttributes().token; InputMethodManager inputMethodManager = (InputMethodManager) getSystemService(INPUT_METHOD_SERVICE); if (imm != null) { imm.switchToNextInputMethod(token, false); if (inputMethodManager != null) { inputMethodManager.switchToNextInputMethod(token, false); } } Loading Loading
java/src/com/android/inputmethod/latin/LatinIME.java +3 −3 Original line number Diff line number Diff line Loading @@ -873,10 +873,10 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen } private void switchToNextInputMethod() { final IBinder token = getWindow().getAttributes().token; final IBinder token = getWindow().getWindow().getAttributes().token; InputMethodManager inputMethodManager = (InputMethodManager) getSystemService(INPUT_METHOD_SERVICE); if (imm != null) { imm.switchToNextInputMethod(token, false); if (inputMethodManager != null) { inputMethodManager.switchToNextInputMethod(token, false); } } Loading