Skip to content

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

Merge PR #115

Gathin231860b3f6cc44
diff --cc launcher/app/src/main/java/com/gathin/tvhome/MainActivity.java
index 869b0f505,fbbde735b..512ff0363
--- a/launcher/app/src/main/java/com/gathin/tvhome/MainActivity.java
+++ b/launcher/app/src/main/java/com/gathin/tvhome/MainActivity.java
@@@ -526,11 -526,10 +526,11 @@@ public class MainActivity extends Activ
/** Shows the Wi-Fi network name on the button when we can read it, otherwise the connection type. */
private void updateWifiLabel() {
String text = getString(R.string.wifi);
- boolean vpn = false;
+ boolean vpn = false, online = false;
+ int icon = R.drawable.ic_wifi;
try {
ConnectivityManager cm = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);
- boolean online = false, wifi = false, ethernet = false;
+ boolean wifi = false, ethernet = false;
// All networks, not just the active one: with a VPN up the active network is the VPN itself.
for (Network net : cm != null ? cm.getAllNetworks() : new Network[0]) {
NetworkCapabilities caps = cm.getNetworkCapabilities(net);