Cherish:Less boring heads up option [2/2]

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
ezio84
2022-12-16 00:53:58 +07:00
committed by Hưng Phan
parent f78ac10568
commit ded28bde05
2 changed files with 19 additions and 1 deletions

View File

@@ -178,6 +178,11 @@
<string name="notification_sound_vib_screen_on_title">Noisy notifications if screen on</string>
<string name="notification_sound_vib_screen_on_summary">Disable to block notifications sound and vibration when the screen is awake</string>
<!-- Heads up options -->
<string name="notifications_category_title">Annoying notifications protection</string>
<string name="less_boring_heads_up_title">Make heads up less annoying</string>
<string name="less_boring_heads_up_summary">Show heads up only for dialer or messaging app if they are not in foreground</string>
<!-- Incall vibrate options -->
<string name="incall_vibration_category">In-call vibration options</string>
<string name="incall_vibrate_connect_title">Vibrate on connect</string>

View File

@@ -47,7 +47,17 @@
android:fragment="com.cherish.settings.fragments.BatteryLightSettings"
android:title="@string/battery_light_settings" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
<PreferenceCategory
android:key="notifications_category"
android:title="@string/notifications_category_title">
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="less_boring_heads_up"
android:title="@string/less_boring_heads_up_title"
android:summary="@string/less_boring_heads_up_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="notification_sound_vib_screen_on"
android:title="@string/notification_sound_vib_screen_on_title"
android:summary="@string/notification_sound_vib_screen_on_summary"
@@ -85,6 +95,8 @@
android:title="@string/reticker_colored_title"
android:summary="@string/reticker_colored_summary"
android:defaultValue="false" />
</PreferenceCategory>
<PreferenceCategory
android:key="incall_vib_options"
@@ -106,4 +118,5 @@
android:defaultValue="false" />
</PreferenceCategory>
</PreferenceScreen>