Globe key: Open keyboard switching dialog

instead of immediately switching to the next input method.
This commit is contained in:
Jules Aguillon 2022-01-23 19:40:45 +01:00
parent baf867a9f9
commit e031de6b57

View File

@ -235,7 +235,9 @@ public class Keyboard2 extends InputMethodService
public void switchToNextInputMethod()
{
InputMethodManager imm = (InputMethodManager)getSystemService(INPUT_METHOD_SERVICE);
imm.switchToNextInputMethod(getConnectionToken(), false);
imm.showInputMethodPicker();
// deprecated in version 28: imm.switchToNextInputMethod(getConnectionToken(), false);
// added in version 28: switchToNextInputMethod(false);
}
public void setPane_emoji()