Skip to content

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

PROMPT.md: scope the volume-hold check to the G09 build, as reviewed

xbshengd233c97eff81
diff --git a/PROMPT.md b/PROMPT.md
index 9b04ef0c8..ff708140d 100644
--- a/PROMPT.md
+++ b/PROMPT.md
@@ -114,11 +114,12 @@ Launcher
Input and Settings/dashboard buttons, so after disabling it ask me to press each one, and remap any that
do nothing with the launcher's key services: `input_key_keycodes` and `app_keys` with
INPUT_KEY_SERVICE=1, `settings_key_keycodes` with HOME_KEY_SERVICE=1 (`config.xml` or the theme).
- Enabling either helper has a cost that is not about the buttons it maps: ask me to hold volume up before
- and after, because on a TCL G09 Google TV 12 build a bound key-filtering service drops the key repeats,
- so a ramping volume becomes one step per press - one helper or both, all or nothing - and the price of
- the app buttons is the ramp (`docs/devices/tcl-55p71b-g09-key-repeat.md` has the bisect and the three
- ways out). Say which one I am giving up instead of enabling it quietly.
+ Enabling either helper can cost more than the buttons it maps: on a TCL G09 build (Google TV 12) ask me
+ to hold volume up before and after, because a bound key-filtering service there drops the key repeats -
+ a ramping volume becomes one step per press, one helper or both, all or nothing - so say which one I am
+ giving up instead of enabling it quietly (`docs/devices/tcl-55p71b-g09-key-repeat.md` has the bisect and
+ the three ways out). On other sets this was not measured; if holding a button stops repeating once a
+ helper is on, it is the same trade and not a broken remote.
A button the TV logs as `KEY_UNKNOWN` or `KEY_PROGRAM` cannot be matched by keycode, since every
unmapped button shares it: read the scancode with `getevent -lt` and use `settings_key_scancodes`,
which only `config.xml` carries (a theme can set keycodes, not scancodes).
diff --git a/tests/test_g09_key_repeat_note.py b/tests/test_g09_key_repeat_note.py
index 6d82b86b6..7083499a8 100644
--- a/tests/test_g09_key_repeat_note.py
+++ b/tests/test_g09_key_repeat_note.py
@@ -140,10 +140,13 @@ class EntryPointsTest(unittest.TestCase):
def test_prompt_asks_before_enabling_a_helper(self):
text = flat(PROMPT)
- self.assertIn("ask me to hold volume up before", text)
+ self.assertIn("on a TCL G09 build (Google TV 12) ask me to hold volume up before", text,
+ "the check is scoped to the build the evidence came from")
self.assertIn("all or nothing", text)
self.assertIn("docs/devices/tcl-55p71b-g09-key-repeat.md", text)
- self.assertIn("Say which one I am giving up", text)
+ self.assertIn("say which one I am giving up", text)
+ self.assertIn("On other sets this was not measured", text,
+ "one unit is not a rule for every TV")
def test_examples_index_lists_the_note(self):
text = EXAMPLES.read_text(encoding="utf-8")