1
0
Fork 0

fixed OK not performing its normal function when it has completely failed showing the UI, or when there was no need to

This commit is contained in:
sspanak 2024-04-22 14:07:58 +03:00 committed by Dimo Karaivanov
parent 92a101d523
commit 95e0eb4130

View file

@ -190,6 +190,8 @@ public class TraditionalT9 extends HotkeyHandler {
// when there is no text to avoid undesired submitting of something.
if (!isInputViewShown() && DeviceInfo.noTouchScreen(this) && textField.isEmpty()) {
sendDownUpKeyEvents(KeyEvent.KEYCODE_DPAD_CENTER);
} else {
return false;
}
return true;