1
0
Fork 0

Fix #29 (wrong route taken in handler when keymap is off) (#30)

* (nitpicking) Add "space on 0" proper description

* Fix https://github.com/Clam-/TraditionalT9/issues/29

Co-authored-by: akasaka <akasaka@somewhereinthe.box>
This commit is contained in:
Akasaka Ryuunosuke 2021-02-22 19:33:23 +09:00 committed by GitHub
parent 6e9cc238e7
commit a352deca43
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 4 deletions

View file

@ -604,7 +604,7 @@ public class TraditionalT9 extends InputMethodService implements
}
if (!onKeyDown_(keyCode, event)) {
if (key == null || keyRemap) {
if (key == null || !keyRemap) {
return false;
}
else {
@ -795,7 +795,7 @@ public class TraditionalT9 extends InputMethodService implements
}
if (!onKeyUp_(keyCode, event)) {
if (key == null || keyRemap) {
if (key == null || !keyRemap) {
return false;
}
else {