Skip to content

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

launcher: network pill no longer refreshed every minute

Cristian Rojasc97980262347
diff --git a/launcher/app/src/main/java/com/gathin/tvhome/MainActivity.java b/launcher/app/src/main/java/com/gathin/tvhome/MainActivity.java
index 7597e0e60..2d1873423 100644
--- a/launcher/app/src/main/java/com/gathin/tvhome/MainActivity.java
+++ b/launcher/app/src/main/java/com/gathin/tvhome/MainActivity.java
@@ -275,7 +275,9 @@ public class MainActivity extends Activity implements AppAdapter.TileListener {
public void run() {
updateGreeting();
updateRace();
- updateWifiLabel();
+ // The pill follows the network callbacks and each return to Home; only the diya's flame follows the
+ // signal level, so only it needs this minute's binder calls (about 7 ms on the UI thread).
+ if (festive) updateWifiLabel();
sky.update();
wallpaperPlayer.update();
handler.postDelayed(this, MINUTE_MS);