Cherish: User toggle for streaming apps [2/2]

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
Joey Huab
2022-02-10 23:02:20 +09:00
committed by Hưng Phan
parent 4537e0bb8c
commit 77180c6bd9
3 changed files with 39 additions and 11 deletions

View File

@@ -704,5 +704,10 @@
<!-- Notch: Full screen apps -->
<string name="display_cutout_force_fullscreen_title">Full screen apps</string>
<string name="display_cutout_force_fullscreen_summary">Force apps to ignore notch space</string>
<!-- Higher quality streams for known streaming apps -->
<string name="use_stream_spoof_title">Higher quality streams</string>
<string name="use_stream_spoof_summary">Enable Higher quality streams on Amazon Prime, Disney+, Hotstar, and Netflix. (Mileage will vary per-device)</string>
<string name="stream_spoof_toast">Restart the streaming app for it to take effect</string>
</resources>

View File

@@ -36,8 +36,7 @@
android:title="@string/display_cutout_force_fullscreen_title"
android:summary="@string/display_cutout_force_fullscreen_summary"
android:fragment="com.cherish.settings.fragments.DisplayCutoutForceFullscreenSettings"
settings:controller="com.cherish.settings.fragments.DisplayCutoutForceFullscreenPreferenceController"
app:allowDividerAbove="true" />
settings:controller="com.cherish.settings.fragments.DisplayCutoutForceFullscreenPreferenceController" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
@@ -45,6 +44,13 @@
android:title="@string/use_photos_spoof_title"
android:summary="@string/use_photos_spoof_summary"
android:defaultValue="true"
android:persistent="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="use_stream_spoof"
android:title="@string/use_stream_spoof_title"
android:summary="@string/use_stream_spoof_summary"
android:defaultValue="true"
android:persistent="false" />
<PreferenceCategory