Debloat any Android or Google TV over Wi-Fi and get an Apple TV-style home.
Python adbadblockandroid-tvandroid-tv-launcherapple-tvbloatware-removalclaude-codedebloatfire-tvgoogle-tvlauncherprivacysmart-tvsony-braviatclvibe-codingxiaomi
Fold-ins for #1876, #1793 and #1770
Gathin2302d3b40e0cb8
diff --git a/examples/xgimi-mogo-4-laser/README.md b/examples/xgimi-mogo-4-laser/README.mdindex 0f3049382..72aea8d1e 100644--- a/examples/xgimi-mogo-4-laser/README.md+++ b/examples/xgimi-mogo-4-laser/README.md@@ -14,7 +14,7 @@ unit arrived on Android 11 (`RTMA.250416.085`) and took the Google TV 14 update| File | What it is ||---|---|-| `debloat.txt` | The 18 packages that were disabled, grouped and commented, with what to keep and why |+| `debloat.txt` | The 17 packages it disables (the tested unit also had the phone-remote service off), grouped and commented, with what to keep and why || `config.json` | Dock order, 5 columns, no tuner, `stock_home_redirect` and `key_filter` false; push it with `tools/theme.sh` |All commands run from the repo root, with the projector's IP in `TV_HOST`.diff --git a/tests/test_helper_table.py b/tests/test_helper_table.pyindex bb4865380..5b42c31f1 100644--- a/tests/test_helper_table.py+++ b/tests/test_helper_table.py@@ -163,7 +163,8 @@ class HelperTableTest(unittest.TestCase):# The point of the row: an app or gear button is handled even though Home is not ALL_APPS.body = method_body(self.java["HomeKeyService"], "onKeyEvent")all_apps = body.find("KEYCODE_ALL_APPS")- for call in ("appScancodes.get(", "isSettingsKey(event)", "appKeys.get("):+ # The lookups can be wrapped (#1855 picks a front-app target first), so the map names are searched for.+ for call in ("appScancodes", "isSettingsKey(event)", "appKeys"):with self.subTest(call=call):self.assertNotEqual(body.find(call), -1)self.assertLess(body.find(call), all_apps)diff --git a/tests/test_manage_set.py b/tests/test_manage_set.pyindex d3950df7e..232bdb457 100644--- a/tests/test_manage_set.py+++ b/tests/test_manage_set.py@@ -262,7 +262,7 @@ class SetThemeFolderTest(unittest.TestCase):self.config.write_bytes('{"greeting_name": "Old"}'.encode("utf-16"))before = self.config.read_bytes()refusal = self.set_key()- self.assertIn(f"cannot read {self.config}", refusal)+ self.assertIn(f"cannot read {self.config.resolve()}", refusal)self.assertIn("Nothing was written or pushed", refusal)self.assertEqual(before, self.config.read_bytes())self.push.assert_not_called()@@ -286,7 +286,8 @@ class SetThemeFolderTest(unittest.TestCase):def test_a_folder_this_checkout_ships_is_refused(self):# A checkout of its own, so the project's real files are never touched by this test.- root = Path(self.tmp.name) / "checkout"+ # Resolved like manage.ROOT is, so a temporary folder behind a symlink (/var on macOS) still compares.+ root = (Path(self.tmp.name) / "checkout").resolve()for name in manage.PROJECT_FOLDERS:(root / name / "shipped").mkdir(parents=True)(root / name / "shipped" / "config.json").write_text('{"greeting_name": "Shipped"}\n', encoding="utf-8")