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 480 KB to 512 KB (524,288 B)

Gathin23538d2606a6ed
diff --git a/.github/maintainer/MAINTAINER.md b/.github/maintainer/MAINTAINER.md
index b54741c63..6c02dcbe6 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 491,520 B). Bigger ideas live next to
+launcher under the APK size gate (`.github/workflows/ci.yml`, currently 524,288 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 c2b1803dc..0b8fe574d 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 491520 || { echo "APK is over 480 KB; the launcher targets 1 GB TVs, keep it small"; exit 1; }
+ test "$size" -lt 524288 || { echo "APK is over 512 KB; the launcher targets 1 GB TVs, keep it small"; exit 1; }
diff --git a/AGENTS.md b/AGENTS.md
index 8e1ccb7a1..ce217da2f 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`, 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 491,520 B (480 KB). Linux: `stat -c %s`, macOS: `stat -f %z`. |
+| 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`. |
| 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. |