Cherish: Add kill button to notification guts [2/2]
Signed-off-by: AmolAmrit <amol.amrit03@outlook.com> Change-Id: I9f64a620e8e829850542561fb717a92d3f4b0b74 Signed-off-by: SagarMakhar <sagarmakhar@gmail.com> Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
@@ -424,4 +424,9 @@
|
||||
<string name="less_boring_heads_up_title">Make heads up less annoying</string>
|
||||
<string name="less_boring_heads_up_summary">Show heads up only for dialer or messaging app if they are not in foreground</string>
|
||||
|
||||
<!-- Notification guts kill app button -->
|
||||
<string name="general_category">General</string>
|
||||
<string name="notification_guts_kill_app_button_title">Kill app button</string>
|
||||
<string name="notification_guts_kill_app_button_summary">Show a kill app button in the notification\'s longpress menu</string>
|
||||
|
||||
</resources>
|
||||
|
||||
@@ -40,6 +40,17 @@
|
||||
android:title="@string/incall_vibrate_disconnect_title"
|
||||
android:defaultValue="true" />
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="notifications_general_category"
|
||||
android:title="@string/general_category">
|
||||
|
||||
<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>
|
||||
|
||||
<Preference
|
||||
@@ -56,14 +67,14 @@
|
||||
android:summary="@string/heads_up_notifications_summary"
|
||||
android:title="@string/heads_up_notifications"
|
||||
android:fragment="com.cherish.settings.fragments.HeadsUpSettings"/>
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
<con.cherish.settings.preferences.SystemSettingSwitchPreference
|
||||
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
||||
android:key="less_boring_heads_up"
|
||||
android:title="@string/less_boring_heads_up_title"
|
||||
android:summary="@string/less_boring_heads_up_summary"
|
||||
android:defaultValue="false" />
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
||||
android:key="toast_icon"
|
||||
|
||||
Reference in New Issue
Block a user