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:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user