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
addons: Open on wake rechecks the switch when the wait ends
Luiz Fernandof2613be2dc4b
diff --git a/addons/wake-app/app/src/main/java/io/github/luyzfernando08/wakeapp/WatchService.java b/addons/wake-app/app/src/main/java/io/github/luyzfernando08/wakeapp/WatchService.javaindex 359a648d9..9ad07cc0f 100644--- a/addons/wake-app/app/src/main/java/io/github/luyzfernando08/wakeapp/WatchService.java+++ b/addons/wake-app/app/src/main/java/io/github/luyzfernando08/wakeapp/WatchService.java@@ -34,10 +34,12 @@ public class WatchService extends Service {private final Runnable open = new Runnable() {@Overridepublic void run() {+ // The switch or the app may have changed while this waited out its delay.+ if (!Prefs.enabled(WatchService.this) || Prefs.app(WatchService.this).isEmpty()) return;long now = SystemClock.elapsedRealtime();if (lastOpen != 0 && now - lastOpen < MIN_GAP_MS) return;- lastOpen = now;- Launch.open(WatchService.this);+ // Only an open that happened starts the cooldown: a missing app must not block the next wake.+ if (Launch.open(WatchService.this)) lastOpen = now;}};