Skip to content

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

Merge PR #433: Launcher: per-app launch action, label and banner (launch_actions, app_labels, app_banners)

Gathin2346dc3af790c5
diff --cc launcher/app/src/main/res/values/config.xml
index c3d17637d,1b3ff5ad5..759485753
--- a/launcher/app/src/main/res/values/config.xml
+++ b/launcher/app/src/main/res/values/config.xml
@@@ -33,11 -33,23 +33,25 @@@
to that package instead, and the app starts normally. Leave empty to omit. -->
<string name="live_tv_action" translatable="false"></string>
+ <!-- Tiles that open a screen of the app instead of its start screen: "package=action", sent to that package.
+ A tile whose action no longer resolves opens the app normally. MagentaTV's program guide:
+ com.telekom.onetv.tv.pl=com.telekom.onetv.tv.pl.action.PROGRAM_GUIDE. -->
+ <string-array name="launch_actions">
+ </string-array>
+
+ <!-- A tile's name instead of the app's own: "package=Name". It also shows above the dock. -->
+ <string-array name="app_labels">
+ </string-array>
+ <!-- A tile's artwork instead of the app's banner: "package=drawable", a banner_* drawable bundled with the
+ launcher (res/drawable). banner_tv is a magenta field with the Live TV glyph. -->
+ <string-array name="app_banners">
+ </string-array>
+
<!-- TVs with no TvInputManager have no HDMI list to read, but their own source-selection panel
still switches inputs (TCL Android TV 9 again). When nothing could be listed, the Inputs menu
- offers one row that starts this service: component first, then action. Leave empty to omit. -->
+ offers one row that starts this service: component first, then action. The component can also be an
+ activity, for sets whose panel is a dialog (BYINTEK U4). With no Live TV app either, the Inputs pill
+ opens the panel directly instead of a menu. Leave empty to omit. -->
<string name="source_panel_service" translatable="false"></string>
<string name="source_panel_action" translatable="false"></string>
diff --cc themes/README.md
index 57366c4dd,19084ef13..bd7791407
--- a/themes/README.md
+++ b/themes/README.md
@@@ -30,7 -30,10 +30,11 @@@ is ignored, and a file that doesn't par
| `fill_dock` | bool | Fill the dock slots `dock_apps` leaves free with the first grid apps (true by default); false leaves them empty |
| `hidden_apps` | list of package names | Never shown as tiles |
| `live_tv_package`, `live_tv_action` | string | The Live TV app and, if it has no leanback entry, the action to start it with |
+| `source_panel_service`, `source_panel_action` | string | The TV's own source panel, for sets with no TvInputManager: a service, or an activity (BYINTEK U4). Without a Live TV app, the Inputs pill opens it directly |
+ | `launch_actions` | list of `"package=action"` | Tiles that open a screen of the app instead of its start screen; an action that no longer resolves opens the app normally (MagentaTV's guide: `com.telekom.onetv.tv.pl=com.telekom.onetv.tv.pl.action.PROGRAM_GUIDE`) |
+ | `app_labels` | list of `"package=Name"` | A tile's name instead of the app's own (MagentaTV as `com.telekom.onetv.tv.pl=TV`) |
+ | `app_banners` | list of `"package=banner_name"` | A tile's artwork from a `banner_*` drawable bundled with the launcher (`banner_tv`: magenta with the Live TV glyph) |
+ | `source_panel_service`, `source_panel_action` | string | The TV's own source panel, for sets with no TvInputManager |
| `input_action` | string | Action sent with an HDMI/AV row's channel URI when nothing handles the standard `VIEW` (XGIMI: `com.xgimi.action.hdmiPlayer`) |
| `columns` | 1 to 8 | Tiles per row; tiles shrink to fit from 5 up |
| `rows_below_dock` | 0 to 3 | Grid rows left visible under the dock; tiles shrink if the dock, its title and that many rows would not fit the screen height |