summaryrefslogtreecommitdiffstats
path: root/res/xml/notification_manager_settings.xml
diff options
context:
space:
mode:
Diffstat (limited to 'res/xml/notification_manager_settings.xml')
-rw-r--r--res/xml/notification_manager_settings.xml49
1 files changed, 49 insertions, 0 deletions
diff --git a/res/xml/notification_manager_settings.xml b/res/xml/notification_manager_settings.xml
new file mode 100644
index 0000000..51bcafa
--- /dev/null
+++ b/res/xml/notification_manager_settings.xml
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2015 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">
+ <!-- Zen Mode -->
+ <PreferenceScreen
+ android:key="zen_mode"
+ android:title="@string/zen_mode_settings_title"
+ 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.notification.NotificationAppList" />
+
+ <!-- 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>