Cherish: Replace media notification background with artwork [2/2]

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
TikkiTikki
2021-02-02 14:36:37 -03:00
committed by Hưng Phan
parent 6f28a1c42b
commit 506a6d00d7
2 changed files with 18 additions and 0 deletions

View File

@@ -1167,4 +1167,9 @@
<!-- Quick Settings -->
<string name="lockscreen_qs_disabled_title">Disable quick settings when locked</string>
<string name="lockscreen_qs_disabled_summary">Disable expanding quick settings on secure lock screens</string>
<!-- Notification Media Options -->
<string name="media_category">Media Notification options</string>
<string name="artwork_media_background_title">Artwork media background</string>
<string name="artwork_media_background_summary">Set media artwork as notification media background</string>
</resources>

View File

@@ -56,6 +56,19 @@
android:summary="@string/less_boring_heads_up_summary"
android:defaultValue="false" />
<PreferenceCategory
android:key="media_category"
android:title="@string/media_category" >
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="artwork_media_background"
android:icon="@drawable/ic_media"
android:title="@string/artwork_media_background_title"
android:summary="@string/artwork_media_background_summary"
android:defaultValue="true" />
</PreferenceCategory>
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="center_notification_headers"