Skip to content

Commit 66b94db

Browse files
dslulSeth
authored andcommitted
fix switch language behaviour
fixes openboard-team#48
1 parent 3958218 commit 66b94db

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

  • app/src/main/java/io/github/sds100/keymapper/inputmethod/latin

app/src/main/java/io/github/sds100/keymapper/inputmethod/latin/LatinIME.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1450,10 +1450,13 @@ public void onRequestPermissionsResult(boolean allGranted) {
14501450
}
14511451

14521452
public void displaySettingsDialog() {
1453+
launchSettings();
1454+
/* old dialog
14531455
if (isShowingOptionDialog()) {
14541456
return;
14551457
}
14561458
showSubtypeSelectorAndSettings();
1459+
*/
14571460
}
14581461

14591462
@Override
@@ -1520,7 +1523,7 @@ public void switchLanguage(final InputMethodSubtype subtype) {
15201523
public void switchToNextSubtype() {
15211524
final IBinder token = getWindow().getWindow().getAttributes().token;
15221525
if (shouldSwitchToOtherInputMethods()) {
1523-
mRichImm.switchToNextInputMethod(token, false /* onlyCurrentIme */);
1526+
mRichImm.switchToNextInputMethod(token, true /* onlyCurrentIme */);
15241527
return;
15251528
}
15261529
mSubtypeState.switchSubtype(token, mRichImm);

0 commit comments

Comments
 (0)