Skip to content

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

Merge PR #34: Launcher: target Android 14 so Google TV installs it

Gathin2327b490b690e4
diff --cc launcher/app/src/main/AndroidManifest.xml
index 8cea721b9,dc7ab73ec..406c5f41c
--- a/launcher/app/src/main/AndroidManifest.xml
+++ b/launcher/app/src/main/AndroidManifest.xml
@@@ -30,19 -38,11 +38,24 @@@
<category android:name="android.intent.category.HOME" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
+ <!-- Listed in the TV's own app list, so it can be opened from the stock home screen too. -->
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN" />
+ <category android:name="android.intent.category.LEANBACK_LAUNCHER" />
+ </intent-filter>
</activity>
+
+ <!-- Screensaver: pick it in Settings, or `settings put secure screensaver_components
+ com.gathin.tvhome/.ClockDream` over adb. -->
+ <service
+ android:name=".ClockDream"
+ android:label="@string/dream_name"
+ android:exported="true"
+ android:permission="android.permission.BIND_DREAM_SERVICE">
+ <intent-filter>
+ <action android:name="android.service.dreams.DreamService" />
+ <category android:name="android.intent.category.DEFAULT" />
+ </intent-filter>
+ </service>
</application>
</manifest>