Use switchToNextInputMethod instead of switchToPreviousInputMethod

This is warranted by the API.
This commit is contained in:
Jules Aguillon 2024-01-15 22:10:11 +01:00
parent d7fa5ffa9a
commit 70d777253c

View File

@ -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: