Cherish: Option to disable all headsup notifications for Gaming mode [2/2]

Signed-off-by: AnkitGourav <Ankitgourav035@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
AnkitGourav
2019-12-24 10:24:36 +05:30
committed by Hưng Phan
parent 45a71ac0c7
commit bda00a0719
3 changed files with 28 additions and 5 deletions

View File

@@ -1413,4 +1413,21 @@
<item>2</item>
<item>3</item>
</string-array>
<!-- Gaming mode-->
<string-array name="gaming_mode_headsup_toggle_entries">
<item>@string/gaming_mode_headsup_allow</item>
<item>@string/gaming_mode_headsup_dnc</item>
<item>@string/gaming_mode_headsup_clock</item>
<item>@string/gaming_mode_headsup_dialer</item>
<item>@string/gaming_mode_headsup_stop</item>
</string-array>
<string-array name="gaming_mode_headsup_toggle_values">
<item>0</item>
<item>1</item>
<item>2</item>
<item>3</item>
<item>4</item>
</string-array>
</resources>

View File

@@ -847,8 +847,12 @@
<string name="gaming_mode_app_picker_title">Automatically turn on for these apps</string>
<string name="add_gaming_mode_package_title">Add apps for Gaming mode</string>
<string name="add_gaming_mode_package_summary">Gaming mode will turn on automatically when these apps are opened and turn off when they are closed</string>
<string name="gaming_mode_headsup_title">Block notifications</string>
<string name="gaming_mode_headsup_summary">Block all headsup messages except calls</string>
<string name="gaming_mode_headsup_title">Heads-up Notifications</string>
<string name="gaming_mode_headsup_allow">Allow all headsup notifications</string>
<string name="gaming_mode_headsup_dnc">Block all headsup notifications except calls &amp; alarms</string>
<string name="gaming_mode_headsup_clock">Block all headsup notifications except alarms</string>
<string name="gaming_mode_headsup_dialer">Block all headsup notifications except calls</string>
<string name="gaming_mode_headsup_stop">Block all headsup notifications</string
<string name="gaming_mode_hardware_keys_title">Lock buttons</string>
<string name="gaming_mode_hardware_keys_summary">Disable hardware buttons when Gaming mode is turned on</string>
<string name="gaming_mode_brightness_title">Disable automatic brightness</string>