When device is locked: - Show all notification content - Hide sensitive notification content Change-Id: I641bca5f1b5f0ab1b2dc381fc0af7f32a9f2bc6d
61 lines
2.4 KiB
XML
61 lines
2.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2014 The Android Open Source 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"
|
|
android:title="@string/notification_settings"
|
|
android:key="notification_settings"
|
|
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
|
|
|
|
<com.android.settings.DefaultRingtonePreference
|
|
android:key="notification_sound"
|
|
android:title="@string/default_sound"
|
|
android:dialogTitle="@string/notification_sound_dialog_title"
|
|
android:persistent="false"
|
|
android:ringtoneType="notification" />
|
|
|
|
<CheckBoxPreference
|
|
android:key="notification_pulse"
|
|
android:title="@string/notification_pulse_title"
|
|
android:persistent="false" />
|
|
|
|
<CheckBoxPreference
|
|
android:key="heads_up"
|
|
android:title="@string/heads_up_enabled_title"
|
|
android:persistent="false" />
|
|
|
|
<com.android.settings.notification.DropDownPreference
|
|
android:key="toggle_lock_screen_notifications"
|
|
android:title="@string/lock_screen_notifications"
|
|
android:persistent="false" />
|
|
|
|
<PreferenceScreen
|
|
android:key="configure"
|
|
android:title="@string/notification_settings_apps_title"
|
|
android:fragment="com.android.settings.notification.AppNotificationSettings" />
|
|
|
|
<PreferenceScreen
|
|
android:key="zen_mode"
|
|
android:title="@string/title_zen_mode"
|
|
android:fragment="com.android.settings.notification.ZenModeSettings" />
|
|
|
|
<Preference
|
|
android:key="manage_notification_access"
|
|
android:title="@string/manage_notification_access"
|
|
android:persistent="false"
|
|
android:fragment="com.android.settings.notification.NotificationAccessSettings" />
|
|
|
|
</PreferenceScreen>
|