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:
@@ -326,4 +326,9 @@
|
|||||||
<string name="less_boring_heads_up_title">Make heads up less annoying</string>
|
<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>
|
<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>
|
</resources>
|
||||||
|
|||||||
@@ -40,6 +40,17 @@
|
|||||||
android:title="@string/incall_vibrate_disconnect_title"
|
android:title="@string/incall_vibrate_disconnect_title"
|
||||||
android:defaultValue="true" />
|
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>
|
</PreferenceCategory>
|
||||||
|
|
||||||
<Preference
|
<Preference
|
||||||
@@ -57,14 +68,14 @@
|
|||||||
android:title="@string/heads_up_notifications"
|
android:title="@string/heads_up_notifications"
|
||||||
android:fragment="com.cherish.settings.fragments.HeadsUpSettings"/>
|
android:fragment="com.cherish.settings.fragments.HeadsUpSettings"/>
|
||||||
|
|
||||||
</PreferenceCategory>
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
||||||
|
|
||||||
<con.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
||||||
android:key="less_boring_heads_up"
|
android:key="less_boring_heads_up"
|
||||||
android:title="@string/less_boring_heads_up_title"
|
android:title="@string/less_boring_heads_up_title"
|
||||||
android:summary="@string/less_boring_heads_up_summary"
|
android:summary="@string/less_boring_heads_up_summary"
|
||||||
android:defaultValue="false" />
|
android:defaultValue="false" />
|
||||||
|
|
||||||
|
</PreferenceCategory>
|
||||||
|
|
||||||
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
||||||
android:key="toast_icon"
|
android:key="toast_icon"
|
||||||
android:title="@string/toast_icon_title"
|
android:title="@string/toast_icon_title"
|
||||||
|
|||||||
Reference in New Issue
Block a user