Skip to content

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

Merge PR #1291: Sleep Timer: quick bar for a remote button, bedtime in one press, zh-TW strings

Gathin232636748f4b28
diff --cc addons/sleep-timer/app/src/main/AndroidManifest.xml
index a15fefd54,349a29440..33615122e
--- a/addons/sleep-timer/app/src/main/AndroidManifest.xml
+++ b/addons/sleep-timer/app/src/main/AndroidManifest.xml
@@@ -16,6 -16,26 +16,24 @@@
android:icon="@drawable/banner"
android:label="@string/app_name">
- <!-- The quick bar: the app's own tile, its module card and what a remote button mapped to this app (app_keys)
- opens; OK on the bar opens the picker. -->
+ <!-- The quick bar, for a remote button: map it in the launcher's app_keys as
+ hold:<keycode>:io.github.luyzfernando08.sleeptimer/.QuickActivity. The tile and the card open the picker. -->
+ <activity
+ android:name=".QuickActivity"
+ android:taskAffinity=""
+ android:launchMode="singleInstance"
+ android:exported="true"
+ android:excludeFromRecents="true"
+ android:noHistory="true"
+ android:theme="@android:style/Theme.Translucent.NoTitleBar" />
+ <!-- Bedtime in one press: a 30-minute timer plus Brightness's night mode, off again on the next press. -->
+ <activity
+ android:name=".BedtimeActivity"
+ android:taskAffinity=""
+ android:exported="true"
+ android:excludeFromRecents="true"
+ android:noHistory="true"
+ android:theme="@android:style/Theme.Translucent.NoTitleBar" />
<!-- The timer picker: the app's own tile and, on the cleanyourtv launcher, its module card. -->
<activity
android:name=".TimerActivity"