Cherish:Allow to suppress notifications sound/vibration if screen is On [2/2]

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
ezio84
2022-08-26 18:39:25 +07:00
committed by Hưng Phan
parent a352d635a1
commit 0c0da892cb
2 changed files with 9 additions and 0 deletions

View File

@@ -171,5 +171,8 @@
<!-- Lockscreen double tap to sleep -->
<string name="double_tap_sleep_lockscreen_title">Lockscreen double tap to sleep</string>
<string name="double_tap_sleep_lockscreen_summary">Double tap anywhere on the lockscreen to put the device to sleep</string>
<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>
</resources>

View File

@@ -46,6 +46,12 @@
android:key="charging_light"
android:fragment="com.cherish.settings.fragments.BatteryLightSettings"
android:title="@string/battery_light_settings" />
<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"
android:defaultValue="true" />
</PreferenceScreen>