Skip to content

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

CI: APK gate 480 KB (491,520 B)

Gathin23a815f98d39d6
diff --git a/.github/maintainer/MAINTAINER.md b/.github/maintainer/MAINTAINER.md
index 3a7aaf66b..8120031c7 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 471,040 B). Bigger ideas live next to
+launcher under the APK size gate (`.github/workflows/ci.yml`, currently 491,520 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 4ad31a1eb..c2b1803dc 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -48,4 +48,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 471040 || { echo "APK is over 460 KB; the launcher targets 1 GB TVs, keep it small"; exit 1; }
+ test "$size" -lt 491520 || { echo "APK is over 480 KB; the launcher targets 1 GB TVs, keep it small"; exit 1; }
diff --git a/AGENTS.md b/AGENTS.md
index 81ef0cea8..e540f6e05 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -234,7 +234,7 @@ no switch. No new dependencies in `launcher/app/build.gradle` without an issue f
|---|---|
| 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`, which also checks the README's TV-model count. |
| 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 471,040 B (460 KB). Linux: `stat -c %s`, macOS: `stat -f %z`. |
+| APK size gate | `launcher/app/build/outputs/apk/release/app-release.apk` must be under 491,520 B (480 KB). Linux: `stat -c %s`, macOS: `stat -f %z`. |
| README rows | A new list has its row in `README.md` and `examples/README.md`; a theme 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. |