OSDN Git Service

Remove "don't show" option from work notifications settings
[android-x86/packages-apps-Settings.git] / res / xml / security_lockscreen_settings.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2017 The Android Open Source Project
3
4      Licensed under the Apache License, Version 2.0 (the "License");
5      you may not use this file except in compliance with the License.
6      You may obtain a copy of the License at
7
8           http://www.apache.org/licenses/LICENSE-2.0
9
10      Unless required by applicable law or agreed to in writing, software
11      distributed under the License is distributed on an "AS IS" BASIS,
12      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13      See the License for the specific language governing permissions and
14      limitations under the License.
15 -->
16
17 <PreferenceScreen
18     xmlns:android="http://schemas.android.com/apk/res/android"
19     xmlns:settings="http://schemas.android.com/apk/res-auto"
20     android:key="security_lockscreen_settings_screen"
21     android:title="@string/lockscreen_settings_title">
22
23     <com.android.settings.RestrictedListPreference
24         android:key="security_setting_lock_screen_notif"
25         android:title="@string/lock_screen_notifications_title"
26         android:summary="@string/summary_placeholder" />
27
28     <com.android.settingslib.RestrictedSwitchPreference
29         android:key="security_lockscreen_add_users_when_locked"
30         android:title="@string/user_add_on_lockscreen_menu" />
31
32     <com.android.settingslib.RestrictedPreference
33         android:key="owner_info_settings"
34         android:title="@string/owner_info_settings_title"
35         android:summary="@string/owner_info_settings_summary" />
36
37     <SwitchPreference
38         android:key="security_setting_lockdown_enabled"
39         android:title="@string/lockdown_settings_title"
40         android:summary="@string/lockdown_settings_summary"
41         settings:controller="com.android.settings.security.LockdownButtonPreferenceController"/>
42
43     <PreferenceCategory
44         android:key="security_setting_lock_screen_notif_work_header"
45         android:title="@string/profile_section_header">
46
47         <com.android.settings.RestrictedListPreference
48             android:key="security_setting_lock_screen_notif_work"
49             android:title="@string/locked_work_profile_notification_title"
50             android:summary="@string/summary_placeholder" />
51
52     </PreferenceCategory>
53
54 </PreferenceScreen>