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:
@@ -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>
|
||||
|
||||
@@ -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 & 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>
|
||||
|
||||
@@ -25,12 +25,14 @@
|
||||
android:summary="@string/gaming_mode_enable_summary"
|
||||
android:defaultValue="false" />
|
||||
|
||||
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
||||
<com.cherish.settings.preferences.SystemSettingListPreference
|
||||
android:key="gaming_mode_headsup_toggle"
|
||||
android:title="@string/gaming_mode_headsup_title"
|
||||
android:summary="@string/gaming_mode_headsup_summary"
|
||||
android:entries="@array/gaming_mode_headsup_toggle_entries"
|
||||
android:entryValues="@array/gaming_mode_headsup_toggle_values"
|
||||
android:summary="%s"
|
||||
android:dependency="gaming_mode_enabled"
|
||||
android:defaultValue="true" />
|
||||
android:defaultValue="1" />
|
||||
|
||||
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
||||
android:key="gaming_mode_hw_keys_toggle"
|
||||
|
||||
Reference in New Issue
Block a user