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

Commit ff9468bc authored by Frank Preel's avatar Frank Preel
Browse files

As for token like other

parent ecb562d8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -892,7 +892,7 @@ 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 (inputMethodManager != null) {
             inputMethodManager.switchToNextInputMethod(token, false);