Cherish:Allow to suppress notifications sound/vibration if screen is ON [2/2]
Change-Id: I7cac943a4220c87f88dbb517ff61b844b39581e9 Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
@@ -268,4 +268,7 @@
|
|||||||
<string name="vowifi_icon_simple2">Simple2 Icon</string>
|
<string name="vowifi_icon_simple2">Simple2 Icon</string>
|
||||||
<string name="vowifi_icon_simple3">Simple3 Icon</string>
|
<string name="vowifi_icon_simple3">Simple3 Icon</string>
|
||||||
|
|
||||||
|
<!-- Suppress notifications sound/vibration if screen is ON -->
|
||||||
|
<string name="notification_sound_vib_screen_on_title">Notification sound if active</string>
|
||||||
|
<string name="notification_sound_vib_screen_on_summary">Play sound and vibration for notifications when screen is on</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
@@ -33,4 +33,11 @@
|
|||||||
android:fragment="com.cherish.settings.fragments.BatteryLightSettings"
|
android:fragment="com.cherish.settings.fragments.BatteryLightSettings"
|
||||||
android:title="@string/battery_light_settings" />
|
android:title="@string/battery_light_settings" />
|
||||||
|
|
||||||
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
||||||
|
android:key="notification_sound_vib_screen_on"
|
||||||
|
android:icon="@drawable/ic_notification"
|
||||||
|
android:title="@string/notification_sound_vib_screen_on_title"
|
||||||
|
android:summary="@string/notification_sound_vib_screen_on_summary"
|
||||||
|
android:defaultValue="true" />
|
||||||
|
|
||||||
</PreferenceScreen>
|
</PreferenceScreen>
|
||||||
|
|||||||
Reference in New Issue
Block a user