pressing OK, Change Language/Mode keys now triggers Main View show up, if it is hidden
This commit is contained in:
parent
baca3c1d8f
commit
eba1e128b4
1 changed files with 6 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue