Skip to content

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

CI: the launcher APK gate goes from 512 KB to 576 KB (589,824 B)

Gathin23dd7a5476a264
diff --git a/.github/maintainer/MAINTAINER.md b/.github/maintainer/MAINTAINER.md
index b8816c25f..6e9c16de5 100644
--- a/.github/maintainer/MAINTAINER.md
+++ b/.github/maintainer/MAINTAINER.md
@@ -6,7 +6,7 @@ tested TV lists under `examples/<tv>/`, translations, docs, small launcher optio
## The policy: a small core plus a well-indexed hub
The main repo stays small and simple: the prompt, tested TV lists, the safety rules and a small, stable
-launcher under the APK size gate (`.github/workflows/ci.yml`, currently 524,288 B). Bigger ideas live next to
+launcher under the APK size gate (`.github/workflows/ci.yml`, currently 589,824 B). Bigger ideas live next to
it, and every one of them gets a home. Pick the smallest home that fits (CONTRIBUTING, "Where does my idea go?"):
| The idea | Where it goes | Verdict |
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 3938acdf9..1eb28f069 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -67,4 +67,4 @@ jobs:
run: |
size=$(stat -c %s launcher/app/build/outputs/apk/release/app-release.apk)
echo "release APK: $((size / 1024)) KB"
- test "$size" -lt 524288 || { echo "APK is over 512 KB; the launcher targets 1 GB TVs, keep it small"; exit 1; }
+ test "$size" -lt 589824 || { echo "APK is over 576 KB; the launcher targets 1 GB TVs, keep it small"; exit 1; }
diff --git a/AGENTS.md b/AGENTS.md
index 7fdf1251a..91c4664be 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -117,7 +117,7 @@ use it and ends with the check to run.
|---|---|
| Tests, as CI runs them | `python3 -m unittest discover -s tests -v` after `python3 -m venv tools/venv` and `tools/venv/bin/pip install -r tools/requirements.txt`. On `main`, CI sets `CLEANYOURTV_STRICT=1`, and its "README tables" job checks that the TV tables and counts are what `tools/gen_tables.py` writes. |
| Launcher, if you touched `launcher/` | JDK 17, Android SDK platform 34, build-tools 34.0.0. In `launcher/`: `./gradlew --no-daemon testReleaseUnitTest lintRelease assembleRelease`. Lint must stay at zero errors. |
-| APK size gate | `launcher/app/build/outputs/apk/release/app-release.apk` must be under 524,288 B (512 KB). Linux: `stat -c %s`, macOS: `stat -f %z`. |
+| APK size gate | `launcher/app/build/outputs/apk/release/app-release.apk` must be under 589,824 B (576 KB). Linux: `stat -c %s`, macOS: `stat -f %z`. |
| README rows | A new list adds only its folder, with a `tv.json`: the TV tables, the brand line and the counts are generated after merging, so leave them alone. A theme has its row in `themes/README.md`; an add-on in `addons/README.md`. |
| One topic per PR | A TV list never rides inside a launcher feature PR. A device's list plus small fixes for that same device can be one PR. |
| Tested on | Say which TV, Android version and firmware you tested on, in the PR template's "Tested on" line. |