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:title="@string/encryption_and_credential_settings_title"> 21 22 <PreferenceCategory 23 android:key="encryption_and_credentials_status_category" 24 android:title="@string/crypt_keeper_settings_title"> 25 26 <Preference 27 android:key="encryption_and_credentials_encryption_status" 28 android:title="@string/crypt_keeper_encrypt_title" 29 android:fragment="com.android.settings.security.CryptKeeperSettings" 30 android:summary="@string/summary_placeholder" /> 31 32 </PreferenceCategory> 33 34 <PreferenceCategory 35 android:key="credentials_management" 36 android:title="@string/credentials_title" 37 android:persistent="false" 38 android:order="100"> 39 40 <Preference 41 android:key="trusted_credentials" 42 android:title="@string/trusted_credentials" 43 android:summary="@string/trusted_credentials_summary" 44 android:fragment="com.android.settings.TrustedCredentialsSettings" /> 45 46 <com.android.settingslib.RestrictedPreference 47 android:key="user_credentials" 48 android:title="@string/user_credentials" 49 android:summary="@string/user_credentials_summary" 50 android:fragment="com.android.settings.UserCredentialsSettings" 51 settings:userRestriction="no_config_credentials" /> 52 53 <com.android.settingslib.RestrictedPreference 54 android:key="install_certificate" 55 android:title="@string/credentials_install" 56 android:summary="@string/credentials_install_summary" 57 android:fragment="com.android.settings.security.InstallCertificateFromStorage" 58 settings:userRestriction="no_config_credentials" /> 59 60 <com.android.settingslib.RestrictedPreference 61 android:key="credentials_reset" 62 android:title="@string/credentials_reset" 63 android:summary="@string/credentials_reset_summary" 64 settings:userRestriction="no_config_credentials"> 65 66 <intent 67 android:action="com.android.credentials.RESET" 68 android:targetPackage="com.android.settings" /> 69 70 </com.android.settingslib.RestrictedPreference> 71 72 <Preference 73 android:key="certificate_management_app" 74 android:title="@string/certificate_management_app" 75 android:summary="@string/summary_placeholder" 76 android:fragment="com.android.settings.security.CredentialManagementAppFragment" 77 settings:controller="com.android.settings.security.CredentialManagementAppPreferenceController"/> 78 79 </PreferenceCategory> 80 81</PreferenceScreen> 82