From 70d777253ced7b95b23031f206a6248403d4abfe Mon Sep 17 00:00:00 2001 From: Jules Aguillon Date: Mon, 15 Jan 2024 22:10:11 +0100 Subject: [PATCH] Use switchToNextInputMethod instead of switchToPreviousInputMethod This is warranted by the API. --- srcs/juloo.keyboard2/Keyboard2.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcs/juloo.keyboard2/Keyboard2.java b/srcs/juloo.keyboard2/Keyboard2.java index 9b71954..7867429 100644 --- a/srcs/juloo.keyboard2/Keyboard2.java +++ b/srcs/juloo.keyboard2/Keyboard2.java @@ -394,7 +394,7 @@ public class Keyboard2 extends InputMethodService if (VERSION.SDK_INT < 28) get_imm().switchToLastInputMethod(getConnectionToken()); else - switchToPreviousInputMethod(); + switchToNextInputMethod(false); break; case ACTION: