Evolver: Allow to suppress notifications sound/vibration if screen is ON [2/2]
Signed-off-by: AnierinB <anierin@evolution-x.org>
This commit is contained in:
committed by
Joey Huab
parent
0fc09c4c80
commit
d148de3edb
@@ -112,6 +112,11 @@
|
||||
<string name="quick_settings_secure_lock_screen_title">Hide on secure lock screen</string>
|
||||
<string name="quick_settings_secure_lock_screen_summary">Hide all quick settings in the notification shade while the device is locked</string>
|
||||
|
||||
<!-- Notifications -->
|
||||
<string name="notifications_sounds_vibration_category">Sounds & vibration</string>
|
||||
<string name="notifications_alert_display_on_title">Alert while display on</string>
|
||||
<string name="notifications_alert_display_on_summary">Play sound and vibration for notifications while the display is on</string>
|
||||
|
||||
<!-- Miscellaneous -->
|
||||
<string name="miscellaneous_spoofing_category">Spoofing</string>
|
||||
<string name="miscellaneous_developer_options_category">Developer options</string>
|
||||
|
||||
@@ -9,4 +9,15 @@
|
||||
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
|
||||
android:title="@string/notifications_title">
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="notifications_sounds_vibration_category"
|
||||
android:title="@string/notifications_sounds_vibration_category">
|
||||
|
||||
<!-- Alert while display on -->
|
||||
<org.evolution.settings.preferences.SystemSettingSwitchPreference
|
||||
android:key="notification_sound_vib_screen_on"
|
||||
android:title="@string/notifications_alert_display_on_title"
|
||||
android:summary="@string/notifications_alert_display_on_summary"
|
||||
android:defaultValue="true" />
|
||||
</PreferenceCategory>
|
||||
</PreferenceScreen>
|
||||
|
||||
Reference in New Issue
Block a user