1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  Copyright (C) 2018 The Android Open Source Project
4
5  Licensed under the Apache License, Version 2.0 (the "License");
6  you may not use this file except in compliance with the License.
7  You may obtain a copy of the License at
8
9       http://www.apache.org/licenses/LICENSE-2.0
10
11  Unless required by applicable law or agreed to in writing, software
12  distributed under the License is distributed on an "AS IS" BASIS,
13  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  See the License for the specific language governing permissions and
15  limitations under the License.
16  -->
17
18<PreferenceScreen
19    xmlns:android="http://schemas.android.com/apk/res/android"
20    xmlns:settings="http://schemas.android.com/apk/res-auto"
21    android:key="security_dashboard_page"
22    android:title="@string/security_settings_title"
23    settings:initialExpandedChildrenCount="9">
24
25    <!-- security_settings_status.xml -->
26    <PreferenceCategory
27        android:order="-10"
28        android:key="security_status"
29        android:title="@string/security_status_title" />
30
31    <PreferenceCategory
32        android:order="1"
33        android:key="dashboard_tile_placeholder" />
34
35    <!-- security section -->
36    <PreferenceCategory
37        android:order="10"
38        android:key="security_category"
39        android:title="@string/lock_settings_title">
40
41        <com.android.settings.widget.GearPreference
42            android:key="unlock_set_or_change"
43            android:title="@string/unlock_set_unlock_launch_picker_title"
44            android:summary="@string/summary_placeholder"
45            settings:keywords="@string/keywords_lockscreen" />
46
47        <Preference
48            android:key="fingerprint_settings"
49            android:title="@string/security_settings_fingerprint_preference_title"
50            android:summary="@string/summary_placeholder"
51            settings:keywords="@string/keywords_fingerprint_settings" />
52
53        <Preference
54            android:key="face_settings"
55            android:title="@string/security_settings_face_preference_title"
56            android:summary="@string/summary_placeholder"
57            settings:keywords="@string/keywords_face_settings" />
58    </PreferenceCategory>
59
60    <!-- work profile security section -->
61    <PreferenceCategory
62        android:order="20"
63        android:key="security_category_profile"
64        android:title="@string/lock_settings_profile_title">
65
66        <!-- security_settings_unification -->
67        <com.android.settingslib.RestrictedSwitchPreference
68            android:key="unification"
69            android:title="@string/lock_settings_profile_unification_title"
70            android:summary="@string/lock_settings_profile_unification_summary"
71            settings:keywords="@string/keywords_unification" />
72
73        <com.android.settingslib.RestrictedPreference
74            android:key="unlock_set_or_change_profile"
75            android:title="@string/unlock_set_unlock_launch_picker_title_profile"
76            android:summary="@string/unlock_set_unlock_mode_pattern"
77            settings:keywords="@string/keywords_lockscreen" />
78
79        <SwitchPreference
80            android:key="visiblepattern_profile"
81            android:summary="@string/summary_placeholder"
82            android:title="@string/lockpattern_settings_enable_visible_pattern_title_profile"
83            settings:controller="com.android.settings.security.VisiblePatternProfilePreferenceController" />
84
85        <Preference
86            android:key="fingerprint_settings_profile"
87            android:title="@string/security_settings_fingerprint_preference_title"
88            android:summary="@string/summary_placeholder" />
89
90        <Preference
91            android:key="face_settings_profile"
92            android:title="@string/security_settings_face_preference_title"
93            android:summary="@string/summary_placeholder" />
94
95    </PreferenceCategory>
96
97    <PreferenceCategory
98        android:order="40"
99        android:key="security_settings_device_admin_category"
100        android:layout="@layout/preference_category_no_label">
101
102        <Preference
103            android:key="manage_device_admin"
104            android:title="@string/manage_device_admin"
105            android:summary="@string/summary_placeholder"
106            android:fragment="com.android.settings.applications.specialaccess.deviceadmin.DeviceAdminSettings"
107            settings:controller="com.android.settings.enterprise.ManageDeviceAdminPreferenceController" />
108
109        <Preference
110            android:key="enterprise_privacy"
111            android:title="@string/enterprise_privacy_settings"
112            android:summary="@string/summary_placeholder"
113            android:fragment="com.android.settings.enterprise.EnterprisePrivacySettings" />
114
115    </PreferenceCategory>
116
117    <Preference
118        android:order="50"
119        android:key="sim_lock_settings"
120        android:title="@string/sim_lock_settings_category">
121
122        <intent
123            android:action="android.intent.action.MAIN"
124            android:targetPackage="com.android.settings"
125            android:targetClass="com.android.settings.Settings$IccLockSettingsActivity" />
126
127    </Preference>
128
129    <Preference
130        android:order="60"
131        android:key="encryption_and_credential"
132        android:title="@string/encryption_and_credential_settings_title"
133        android:summary="@string/encryption_and_credential_settings_summary"
134        android:fragment="com.android.settings.security.EncryptionAndCredential" />
135
136    <Preference
137        android:order="70"
138        android:key="manage_trust_agents"
139        android:title="@string/manage_trust_agents"
140        android:summary="@string/summary_placeholder"
141        android:fragment="com.android.settings.security.trustagent.TrustAgentSettings" />
142
143    <Preference
144        android:order="80"
145        android:key="screen_pinning_settings"
146        android:title="@string/screen_pinning_title"
147        android:summary="@string/summary_placeholder"
148        android:fragment="com.android.settings.security.ScreenPinningSettings" />
149
150</PreferenceScreen>