Evolver: Add kill button to notification guts [2/2]

Signed-off-by: AnierinB <anierin@evolution-x.org>
This commit is contained in:
SpiritCroc
2024-04-26 17:05:56 +09:00
committed by Joey Huab
parent bf2988d6e2
commit 8bdd01cccd
2 changed files with 15 additions and 0 deletions

View File

@@ -113,6 +113,9 @@
<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_interface_category">Interface</string>
<string name="notifications_kill_app_button_title">Kill app</string>
<string name="notifications_kill_app_button_summary">Show a kill app button in the notification\'s longpress menu</string>
<string name="notifications_sounds_vibration_category">Sounds &amp; 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>

View File

@@ -9,6 +9,18 @@
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
android:title="@string/notifications_title">
<PreferenceCategory
android:key="notifications_interface_category"
android:title="@string/notifications_interface_category">
<!-- Kill app button -->
<org.evolution.settings.preferences.SystemSettingSwitchPreference
android:key="notification_guts_kill_app_button"
android:title="@string/notifications_kill_app_button_title"
android:summary="@string/notifications_kill_app_button_summary"
android:defaultValue="false" />
</PreferenceCategory>
<PreferenceCategory
android:key="notifications_sounds_vibration_category"
android:title="@string/notifications_sounds_vibration_category">