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

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
SpiritCroc
2022-09-06 22:29:40 +07:00
committed by Hưng Phan
parent 0590d07893
commit 1128b79603
2 changed files with 10 additions and 0 deletions

View File

@@ -494,4 +494,8 @@
<!-- Unlimited google photos storage -->
<string name="use_photos_spoof_title">Unlimited Photos storage</string>
<string name="use_photos_spoof_summary">Spoof your device as Pixel XL for Google Photos app only to provide unlimited storage for backup</string>
<!-- Notification guts kill app button -->
<string name="notification_guts_kill_app_button_title">Force stop button</string>
<string name="notification_guts_kill_app_button_summary">Show force stop button in the notification\'s longpress menu</string>
</resources>

View File

@@ -69,6 +69,12 @@
android:title="@string/alert_slider_notifications_title"
android:summary="@string/alert_slider_notifications_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="notification_guts_kill_app_button"
android:title="@string/notification_guts_kill_app_button_title"
android:summary="@string/notification_guts_kill_app_button_summary"
android:defaultValue="false" />
</PreferenceCategory>