removed the last of the legacy Backspace hack (#318)
--------- Co-authored-by: Alex Knop <alexknoptech@protonmail.com> Co-authored-by: Dimo Karaivanov <doftor.livain@gmail.com>
This commit is contained in:
parent
8ce404d2b6
commit
49eda37b99
1 changed files with 1 additions and 3 deletions
|
|
@ -120,9 +120,7 @@ abstract class KeyPadHandler extends InputMethodService {
|
|||
|
||||
// "backspace" key must repeat its function when held down, so we handle it in a special way
|
||||
if (Key.isBackspace(settings, keyCode)) {
|
||||
// When there is no more text, allow "Back" key to function normally, not to block navigation.
|
||||
// All other keys have their default function disabled.
|
||||
isBackspaceHandled = onBackspace() || keyCode != KeyEvent.KEYCODE_BACK;
|
||||
isBackspaceHandled = onBackspace();
|
||||
return isBackspaceHandled;
|
||||
} else {
|
||||
isBackspaceHandled = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue