Cherish: Add lockscreen visualizer toggle

This commit is contained in:
bgcngm
2019-10-25 10:09:15 +07:00
committed by Hung Phan
parent edfc78a6ad
commit d121a682f7
3 changed files with 26 additions and 6 deletions

View File

@@ -25,12 +25,6 @@
android:summary="@string/lockscreen_battery_info_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="lockscreen_media_metadata"
android:title="@string/lockscreen_media_art_title"
android:icon="@drawable/ic_media"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="lockscreen_charging_animation"
android:icon="@drawable/ic_charging"
@@ -68,4 +62,22 @@
android:entryValues="@array/lockscreen_date_selection_values"
android:defaultValue="0" />
</PreferenceCategory>
<!-- Lockscreen Visualizer-->
<PreferenceCategory
android:key="visualizer"
android:title="@string/visualizer_title">
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="lockscreen_visualizer"
android:icon="@drawable/ic_media"
android:title="@string/lockscreen_visualizer_title"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="lockscreen_media_metadata"
android:title="@string/lockscreen_media_art_title"
android:icon="@drawable/ic_media"
android:defaultValue="true" />
</PreferenceCategory>
</PreferenceScreen>