1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 Copyright (C) 2019 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.car.developeroptions.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.car.developeroptions.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 101 <Preference 102 android:key="manage_device_admin" 103 android:title="@string/manage_device_admin" 104 android:summary="@string/summary_placeholder" 105 android:fragment="com.android.car.developeroptions.applications.specialaccess.deviceadmin.DeviceAdminSettings" 106 settings:controller="com.android.car.developeroptions.enterprise.ManageDeviceAdminPreferenceController" /> 107 108 <Preference 109 android:key="enterprise_privacy" 110 android:title="@string/enterprise_privacy_settings" 111 android:summary="@string/summary_placeholder" 112 android:fragment="com.android.car.developeroptions.enterprise.EnterprisePrivacySettings" /> 113 114 </PreferenceCategory> 115 116 <Preference 117 android:order="50" 118 android:key="sim_lock_settings" 119 android:title="@string/sim_lock_settings_category"> 120 121 <intent 122 android:action="android.intent.action.MAIN" 123 android:targetPackage="com.android.car.developeroptions" 124 android:targetClass="com.android.car.developeroptions.Settings$IccLockSettingsActivity" /> 125 126 </Preference> 127 128 <Preference 129 android:order="60" 130 android:key="encryption_and_credential" 131 android:title="@string/encryption_and_credential_settings_title" 132 android:summary="@string/encryption_and_credential_settings_summary" 133 android:fragment="com.android.car.developeroptions.security.EncryptionAndCredential" /> 134 135 <Preference 136 android:order="80" 137 android:key="screen_pinning_settings" 138 android:title="@string/screen_pinning_title" 139 android:summary="@string/summary_placeholder" 140 android:fragment="com.android.car.developeroptions.security.ScreenPinningSettings" /> 141 142</PreferenceScreen>