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