Skip to content

Debloat any Android or Google TV over Wi-Fi and get an Apple TV-style home.

tests: the G09 key-repeat note pins InputKeyService's pass-through line as it reads after #719

Gathin23ee20aaeb144e
diff --git a/tests/test_g09_key_repeat_note.py b/tests/test_g09_key_repeat_note.py
index 7083499a8..53e04fbb2 100644
--- a/tests/test_g09_key_repeat_note.py
+++ b/tests/test_g09_key_repeat_note.py
@@ -82,7 +82,7 @@ class KeyRepeatNoteTest(unittest.TestCase):
self.assertIn("return `false` for keys they do not map", self.flat)
input_service = flat(INPUT_SERVICE)
home_service = flat(HOME_SERVICE)
- self.assertIn("if (app == null && !isInputKey(event.getKeyCode())) return false;", input_service,
+ self.assertIn("if (!isInputKey(event.getKeyCode())) return false;", input_service,
"InputKeyService must keep passing unmatched keys through, or the note is wrong")
self.assertIn("if (event.getKeyCode() != KeyEvent.KEYCODE_ALL_APPS) return false;", home_service,
"HomeKeyService must keep passing unmatched keys through, or the note is wrong")