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
Merge PR #1246: Launcher: hide the greeting, full-white date (show_greeting, header_white)
Gathin236b19ef74b790
diff --cc docs/switches.mdindex 4d179e358,e2fd1dd3a..586baf3d2--- a/docs/switches.md+++ b/docs/switches.md@@@ -29,6 -29,5 +29,8 @@@ the rules. Keys from before this rule a| `settings_key_panel` | <img src="quick-settings-panel.jpg" width="320" alt="settings_key_panel on a TV"> || `home_idle_clock_minutes` | <img src="clock-screensaver.png" width="320" alt="home_idle_clock_minutes on a TV"> || `gamepad_passthrough` | <img src="switches/gamepad_passthrough.jpg" width="320" alt="gamepad_passthrough on a TV"> |+| `consume_volume_keys` | <img src="switches/consume_volume_keys.jpg" width="320" alt="consume_volume_keys on a TV"> |+| `wifi_status_warnings` | <img src="switches/wifi_status_warnings.jpg" width="320" alt="wifi_status_warnings on a TV"> |+| `top_bar_apps` | <img src="switches/top_bar_apps.jpg" width="320" alt="top_bar_apps on a TV"> |+ | `show_greeting` | <img src="switches/show_greeting.jpg" width="320" alt="show_greeting on a TV"> |+ | `header_white` | <img src="switches/header_white.jpg" width="320" alt="header_white on a TV"> |diff --cc launcher/app/src/main/java/com/gathin/tvhome/Config.javaindex 3851fa518,97ce9fd8f..90df6e543--- a/launcher/app/src/main/java/com/gathin/tvhome/Config.java+++ b/launcher/app/src/main/java/com/gathin/tvhome/Config.java@@@ -208,10 -206,10 +208,14 @@@ final class Configfinal boolean handleViewInputs;/** Hold OK on a tile opens a menu (Move, Remove from Home, App info) instead of App info (config.xml / theme tile_menu). */final boolean tileMenu;+ /** With wifi_status_color, the icon orange while connected without internet (a captive portal) and red while offline (config.xml, wifi_status_warnings). */+ final boolean wifiStatusWarnings;+ /** Apps shown as round logo buttons in the top bar, left of the network pill, and no longer as tiles (config.xml, top_bar_apps). */+ final List<String> topBarApps;+ /** The greeting above the clock (Good evening); false hides it (config.xml, show_greeting). */+ final boolean showGreeting;+ /** The date and the line between it and the clock in the clock's full white instead of dimmed (config.xml, header_white). */+ final boolean headerWhite;private Config(List<String> dockApps, boolean fillDock, List<String> hiddenApps, List<String> libraryApps, String liveTvPackage,String liveTvAction, String liveTvInputId, Map<String, String> launchActions, Map<String, String> appLabels,@@@ -226,7 -224,7 +230,7 @@@List<RaceWeekend.Race> raceCalendar, boolean cinematicHome, boolean ambientGlow, boolean appGlow, boolean fadeRows, int homeIdleClockMinutes,boolean keyFilter, boolean dockGlass, String glowStyle, boolean wallpaperCaptions,boolean handleViewInputs, boolean tileMenu, boolean dockEvenPadding, boolean cinematicDots, boolean cinematicWhiteFocus, boolean wifiStatusColor, int cinematicScrim, int cinematicArt,- Map<String, Set<String>> wallpaperMoods, boolean gamepadPassthrough, boolean consumeVolumeKeys, boolean wifiStatusWarnings, List<String> topBarApps) {- Map<String, Set<String>> wallpaperMoods, boolean gamepadPassthrough, boolean showGreeting, boolean headerWhite) {++ Map<String, Set<String>> wallpaperMoods, boolean gamepadPassthrough, boolean consumeVolumeKeys, boolean wifiStatusWarnings, List<String> topBarApps, boolean showGreeting, boolean headerWhite) {this.handleViewInputs = handleViewInputs;this.tileMenu = tileMenu;this.inputKeycodes = inputKeycodes;@@@ -306,9 -304,8 +310,11 @@@this.cinematicScrim = cinematicScrim;this.wallpaperMoods = wallpaperMoods;this.gamepadPassthrough = gamepadPassthrough;+ this.consumeVolumeKeys = consumeVolumeKeys;+ this.wifiStatusWarnings = wifiStatusWarnings;+ this.topBarApps = Collections.unmodifiableList(topBarApps);+ this.showGreeting = showGreeting;+ this.headerWhite = headerWhite;this.glowStyle = glowStyle(glowStyle);this.wallpaperCaptions = wallpaperCaptions;}@@@ -397,8 -393,8 +403,10 @@@int cinematicScrim = res.getInteger(R.integer.cinematic_scrim);Map<String, Set<String>> wallpaperMoods = moods(res.getString(R.string.wallpaper_moods));String glowStyle = res.getString(R.string.glow_style);+ boolean wifiStatusWarnings = res.getBoolean(R.bool.wifi_status_warnings);+ List<String> topBarApps = new ArrayList<>(Arrays.asList(res.getStringArray(R.array.top_bar_apps)));+ boolean showGreeting = res.getBoolean(R.bool.show_greeting);+ boolean headerWhite = res.getBoolean(R.bool.header_white);boolean applied = false;File dir = dir(ctx);@@@ -479,12 -474,10 +487,14 @@@cinematicScrim = integer(json, "cinematic_scrim", cinematicScrim, 0, 100);JSONObject moods = json.optJSONObject("wallpaper_moods");if (moods != null) wallpaperMoods = moods(moods);+ wifiStatusWarnings = bool(json, "wifi_status_warnings", wifiStatusWarnings);+ topBarApps = stringList(json, "top_bar_apps", topBarApps);+ showGreeting = bool(json, "show_greeting", showGreeting);+ headerWhite = bool(json, "header_white", headerWhite);glowStyle = string(json, "glow_style", glowStyle);}+ // A top-bar app is moved there, not copied: it leaves the grid.+ for (String pkg : topBarApps) if (!hidden.contains(pkg)) hidden.add(pkg);// A theme push or reset invalidates choices made on the TV. On first use, remember the// current theme without clearing choices from an older launcher version.SharedPreferences choices = ctx.getSharedPreferences(SETTINGS_NAME, Context.MODE_PRIVATE);@@@ -537,7 -530,7 +547,7 @@@Math.max(0, Math.min(100, skyIntensity)), settingsKeycodes, settingsKeyPanel, restoreKeyServices, wallpaperEnabled, wallpaper,wallpapers, rotationMinutes, wallpaperDim, dockOpacity, wallpaperOrder, applied,festival, inputKeycodes, appKeys, stockHomeRedirect, json == null ? Collections.emptyList() : raceCalendar(json), cinematic, ambientGlow, appGlow, fadeRows,- Math.max(0, idleClockMinutes), keyFilter, dockGlass, glowStyle, wallpaperCaptions, handleViewInputs, tileMenu, dockEvenPadding, cinematicDots, cinematicWhiteFocus, wifiStatusColor, cinematicScrim, cinematicArt, wallpaperMoods, gamepadPassthrough, consumeVolumeKeys, wifiStatusWarnings, topBarApps);- Math.max(0, idleClockMinutes), keyFilter, dockGlass, glowStyle, wallpaperCaptions, handleViewInputs, tileMenu, dockEvenPadding, cinematicDots, cinematicWhiteFocus, wifiStatusColor, cinematicScrim, cinematicArt, wallpaperMoods, gamepadPassthrough, showGreeting, headerWhite);++ Math.max(0, idleClockMinutes), keyFilter, dockGlass, glowStyle, wallpaperCaptions, handleViewInputs, tileMenu, dockEvenPadding, cinematicDots, cinematicWhiteFocus, wifiStatusColor, cinematicScrim, cinematicArt, wallpaperMoods, gamepadPassthrough, consumeVolumeKeys, wifiStatusWarnings, topBarApps, showGreeting, headerWhite);}/**