mirror of
https://github.com/Julow/Unexpected-Keyboard.git
synced 2025-06-25 04:02:02 +02:00
Use switchToNextInputMethod instead of switchToPreviousInputMethod
This is warranted by the API.
This commit is contained in:
parent
d7fa5ffa9a
commit
70d777253c
@ -394,7 +394,7 @@ public class Keyboard2 extends InputMethodService
|
|||||||
if (VERSION.SDK_INT < 28)
|
if (VERSION.SDK_INT < 28)
|
||||||
get_imm().switchToLastInputMethod(getConnectionToken());
|
get_imm().switchToLastInputMethod(getConnectionToken());
|
||||||
else
|
else
|
||||||
switchToPreviousInputMethod();
|
switchToNextInputMethod(false);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case ACTION:
|
case ACTION:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user