summaryrefslogtreecommitdiffstats
path: root/res/xml/notification_manager_settings.xml
blob: b45cb6bcfbb5ee1f644cc19a37b9b836fe2db4d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<?xml version="1.0" encoding="utf-8"?>
<!--
     Copyright (C) 2015-2016 The CyanogenMod Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">

    <!-- Heads up -->
    <com.android.settings.cyanogenmod.GlobalSettingSwitchPreference
            android:key="heads_up_notifications_enabled"
            android:title="@string/heads_up_notifications"
            android:summaryOn="@string/summary_heads_up_enabled"
            android:summaryOff="@string/summary_heads_up_disabled" />

    <!-- Zen Mode -->
    <PreferenceScreen
            android:key="zen_mode"
            android:title="@string/zen_mode_settings_title"
            settings:keywords="@string/keywords_sounds_and_notifications_interruptions"
            android:fragment="com.android.settings.notification.ZenModeSettings" />

    <!-- When device is locked -->
    <com.android.settings.DropDownPreference
            android:key="lock_screen_notifications"
            android:title="@string/lock_screen_notifications_title"
            android:persistent="false" />

    <!-- App notifications -->
    <PreferenceScreen
            android:key="app_notifications"
            android:title="@string/app_notifications_title"
            android:fragment="com.android.settings.applications.ManageApplications">
            <extra
                android:name="classname"
                android:value="com.android.settings.Settings$NotificationAppListActivity" />
    </PreferenceScreen>

    <!-- Notification access -->
    <Preference
            android:key="manage_notification_access"
            android:title="@string/manage_notification_access_title"
            android:persistent="false"
            android:fragment="com.android.settings.notification.NotificationAccessSettings" />

    <!-- Filter notifications -->
    <PreferenceScreen
            android:title="@string/block_notifications_title"
            android:summary="@string/block_notifications_summary"
            android:fragment="com.android.settings.cyanogenmod.SpamList" />

</PreferenceScreen>