forked from extern/Unexpected-Keyboard
Globe key: Open keyboard switching dialog
instead of immediately switching to the next input method.
This commit is contained in:
parent
baf867a9f9
commit
e031de6b57
@ -235,7 +235,9 @@ public class Keyboard2 extends InputMethodService
|
|||||||
public void switchToNextInputMethod()
|
public void switchToNextInputMethod()
|
||||||
{
|
{
|
||||||
InputMethodManager imm = (InputMethodManager)getSystemService(INPUT_METHOD_SERVICE);
|
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()
|
public void setPane_emoji()
|
||||||
|
Loading…
Reference in New Issue
Block a user