1
0
Fork 0

pressing OK, Change Language/Mode keys now triggers Main View show up, if it is hidden

This commit is contained in:
sspanak 2023-03-29 11:05:06 +03:00 committed by Dimo Karaivanov
parent baca3c1d8f
commit eba1e128b4

View file

@ -193,7 +193,10 @@ public class TraditionalT9 extends KeyPadHandler {
public boolean onOK() {
if (isSuggestionViewHidden() && currentInputConnection != null) {
if (!textField.isThereText()) {
forceShowWindowIfHidden();
return true;
} else if (isSuggestionViewHidden() && currentInputConnection != null) {
return performOKAction();
}
@ -342,6 +345,7 @@ public class TraditionalT9 extends KeyPadHandler {
resetKeyRepeat();
clearSuggestions();
statusBar.setText(mInputMode.toString());
forceShowWindowIfHidden();
return true;
}
@ -352,6 +356,7 @@ public class TraditionalT9 extends KeyPadHandler {
protected boolean onKeyNextInputMode() {
nextInputMode();
forceShowWindowIfHidden();
return (mEditing != EDITING_STRICT_NUMERIC && mEditing != EDITING_DIALER);
}