Alert Slider: Add toggle to disable notifications [2/2]

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
Pranav Vashi
2021-07-04 00:31:25 +07:00
committed by Hưng Phan
parent 38aaced5d8
commit b05b739694
3 changed files with 59 additions and 2 deletions

View File

@@ -1206,4 +1206,8 @@
<!-- Custom statusbar paddings -->
<string name="custom_statusbar_padding_start">Padding (Start)</string>
<string name="custom_statusbar_padding_end">Padding (End)</string>
<!-- Alert Slider Notifications (OnePlus devices) -->
<string name="alert_slider_notifications_title">Alert slider notifications</string>
<string name="alert_slider_notifications_summary">Display notification when changing alert slider position</string>
</resources>

View File

@@ -82,6 +82,13 @@
android:title="@string/notification_headers_title"
android:summary="@string/notification_headers_summary"
android:defaultValue="true" />
<!-- Alert Slider Notifications -->
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="alert_slider_notifications"
android:title="@string/alert_slider_notifications_title"
android:summary="@string/alert_slider_notifications_summary"
android:defaultValue="true" />
<Preference
android:key="notification_light"