Change-Id: Ibde39670f5fdfa4e6e02e9ade88a185709401065 Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
77 lines
3.4 KiB
XML
77 lines
3.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2019-2024 Evolution X
|
|
SPDX-License-Identifier: Apache-2.0
|
|
-->
|
|
|
|
<PreferenceScreen
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
|
|
android:title="@string/notifications_title">
|
|
|
|
<PreferenceCategory
|
|
android:key="heads_up"
|
|
android:title="@string/notifications_heads_up_title">
|
|
|
|
<!-- Heads up -->
|
|
<lineageos.preference.GlobalSettingSwitchPreference
|
|
android:key="heads_up_notifications_enabled"
|
|
android:title="@string/heads_up_notifications_enabled_title"
|
|
android:summary="@string/heads_up_notifications_enabled_summary" />
|
|
|
|
<!-- Compact Heads up -->
|
|
<org.evolution.settings.preferences.SystemPropertySwitchPreference
|
|
android:key="persist.sys.compact_heads_up_notification.always_show"
|
|
android:title="@string/compact_heads_up_notifications_enabled_title"
|
|
android:summary="@string/compact_heads_up_notifications_enabled_summary"
|
|
android:defaultValue="false"
|
|
android:dependency="heads_up_notifications_enabled" />
|
|
|
|
<!-- Less boring heads up -->
|
|
<org.evolution.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="less_boring_heads_up"
|
|
android:title="@string/notifications_less_boring_heads_up_title"
|
|
android:summary="@string/notifications_less_boring_heads_up_summary"
|
|
android:defaultValue="false"
|
|
android:dependency="heads_up_notifications_enabled" />
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory
|
|
android:key="notifications_interface_category"
|
|
android:title="@string/notifications_interface_category">
|
|
|
|
<!-- Alert Slider Notifications (OnePlus devices) -->
|
|
<org.evolution.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="alert_slider_notifications"
|
|
android:title="@string/alert_slider_notifications_title"
|
|
android:summary="@string/alert_slider_notifications_summary"
|
|
android:defaultValue="true" />
|
|
|
|
<!-- Edge light -->
|
|
<Preference
|
|
android:key="edge_light_settings"
|
|
android:title="@string/notifications_edge_light_title"
|
|
android:summary="@string/notifications_edge_light_summary"
|
|
android:fragment="org.evolution.settings.fragments.notifications.EdgeLightSettings" />
|
|
|
|
<!-- 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">
|
|
|
|
<!-- Alert while display on -->
|
|
<org.evolution.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="notification_sound_vib_screen_on"
|
|
android:title="@string/notifications_alert_display_on_title"
|
|
android:summary="@string/notifications_alert_display_on_summary"
|
|
android:defaultValue="true" />
|
|
</PreferenceCategory>
|
|
</PreferenceScreen>
|