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 <!-- Work profile settings are at the bottom with high order value to avoid users thinking that 44 any of the above settings (including dynamic) are specific to the work profile. --> 45 <PreferenceCategory 46 android:key="security_setting_lock_screen_notif_work_header" 47 android:title="@string/profile_section_header" 48 android:order="1000"> 49 50 <com.android.settings.RestrictedListPreference 51 android:key="security_setting_lock_screen_notif_work" 52 android:title="@string/locked_work_profile_notification_title" 53 android:summary="@string/summary_placeholder" /> 54 55 </PreferenceCategory> 56 57 </PreferenceScreen> 58