Skip to content

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

Fold-ins for #1655 and #1497

Gathin235ee685b02014
diff --git a/examples/tcl-55q6cx1/debloat.txt b/examples/tcl-55q6cx1/debloat.txt
index 55b274fd7..caafc8b9f 100644
--- a/examples/tcl-55q6cx1/debloat.txt
+++ b/examples/tcl-55q6cx1/debloat.txt
@@ -6,7 +6,7 @@
# package by package on this live 55Q6CX1 unit: all 20 entries below are disabled, reboot-checked and verified.
#
# Apply: TV_HOST=<tv ip> tools/disable.sh examples/tcl-55q6cx1/debloat.txt
-# Undo: TV_HOST=<tv ip> tools/restore.sh examples/tcl-55q6cx1/debloat.txt
+# Undo: TV_HOST=<tv ip> tools/restore.sh examples/tcl-55q6cx1/debloat.txt com.google.android.apps.tv.launcherx
# Everything is DISABLED, not uninstalled. Comment out any line you want to keep.
#
# Stock launcher: com.google.android.apps.tv.launcherx (disabled here, replaced with reference launcher
diff --git a/tests/test_manage_set.py b/tests/test_manage_set.py
index c035cd265..965f5bd47 100644
--- a/tests/test_manage_set.py
+++ b/tests/test_manage_set.py
@@ -164,8 +164,9 @@ class SetValueTest(unittest.TestCase):
self.assertEqual("Good evening", self.written()["greeting_name"])
def test_a_key_the_launcher_never_reads_from_a_theme_is_refused(self):
- # The table's own words for these two: "list, config.xml only" ... "Not read from a theme".
- for key in ("input_sources", "settings_fallback_components"):
+ # The table's own words for this one: "list, config.xml only" ... "Not read from a theme". (input_sources
+ # was one too, until #1655 let a theme set it.)
+ for key in ("settings_fallback_components",):
with self.subTest(key=key):
refusal = self.set_key(key, '["a/b"]')
self.assertIn(key, refusal)
@@ -184,7 +185,8 @@ class SetValueTest(unittest.TestCase):
self.assertEqual("number", manage.declared_kind(manage.find("columns")))
self.assertEqual("object", manage.declared_kind(manage.find("wallpaper_moods")))
self.assertEqual("string", manage.declared_kind(manage.find("greeting_name")))
- self.assertEqual("config-only", manage.declared_kind(manage.find("input_sources")))
+ self.assertEqual("config-only", manage.declared_kind(manage.find("settings_fallback_components")))
+ self.assertEqual("list", manage.declared_kind(manage.find("input_sources")))
# A type cell this file does not recognise would fall through to "string" and let a wrong value
# through, so every cell the table carries today has to land on a kind.
known = {"bool", "list", "number", "object", "string", "config-only"}