blob: b0906c1646264e535384e6c557bddc91eded7e70 [file] [log] [blame]
Doris Ling81610542017-02-15 17:49:18 -08001<?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
Fan Zhangc58a8832017-11-01 17:59:53 -070017<PreferenceScreen
18 xmlns:android="http://schemas.android.com/apk/res/android"
Fan Zhang74c61d12017-11-17 16:49:54 -080019 xmlns:settings="http://schemas.android.com/apk/res-auto"
Edgar Wang0934bab2020-02-06 11:40:42 +080020 android:title="@string/encryption_and_credential_settings_title">
Doris Ling81610542017-02-15 17:49:18 -080021
Fan Zhangc58a8832017-11-01 17:59:53 -070022 <PreferenceCategory
23 android:key="encryption_and_credentials_status_category"
24 android:title="@string/crypt_keeper_settings_title">
Doris Ling81610542017-02-15 17:49:18 -080025
Fan Zhangc58a8832017-11-01 17:59:53 -070026 <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" />
Doris Ling81610542017-02-15 17:49:18 -080031
Fan Zhangc58a8832017-11-01 17:59:53 -070032 </PreferenceCategory>
Doris Ling81610542017-02-15 17:49:18 -080033
Fan Zhangc58a8832017-11-01 17:59:53 -070034 <PreferenceCategory
35 android:key="credentials_management"
36 android:title="@string/credentials_title"
37 android:persistent="false"
38 android:order="100">
Doris Ling81610542017-02-15 17:49:18 -080039
Fan Zhangc58a8832017-11-01 17:59:53 -070040 <com.android.settingslib.RestrictedPreference
41 android:key="credential_storage_type"
Fan Zhangb2aae6c2017-11-02 14:09:34 -070042 android:title="@string/credential_storage_type"
43 android:summary="@string/summary_placeholder"
44 settings:userRestriction="no_config_credentials" />
Doris Ling81610542017-02-15 17:49:18 -080045
Fan Zhangc58a8832017-11-01 17:59:53 -070046 <Preference
47 android:key="trusted_credentials"
48 android:title="@string/trusted_credentials"
49 android:summary="@string/trusted_credentials_summary"
50 android:fragment="com.android.settings.TrustedCredentialsSettings" />
51
52 <com.android.settingslib.RestrictedPreference
53 android:key="user_credentials"
54 android:title="@string/user_credentials"
55 android:summary="@string/user_credentials_summary"
Fan Zhangb2aae6c2017-11-02 14:09:34 -070056 android:fragment="com.android.settings.UserCredentialsSettings"
57 settings:userRestriction="no_config_credentials" />
Fan Zhangc58a8832017-11-01 17:59:53 -070058
59 <com.android.settingslib.RestrictedPreference
Alex Johnston7659e532019-10-14 17:50:21 +010060 android:key="install_certificate"
Fan Zhangc58a8832017-11-01 17:59:53 -070061 android:title="@string/credentials_install"
Fan Zhangb2aae6c2017-11-02 14:09:34 -070062 android:summary="@string/credentials_install_summary"
Alex Johnston7659e532019-10-14 17:50:21 +010063 android:fragment="com.android.settings.security.InstallCertificateFromStorage"
64 settings:userRestriction="no_config_credentials" />
Doris Ling81610542017-02-15 17:49:18 -080065
Fan Zhangc58a8832017-11-01 17:59:53 -070066 <com.android.settingslib.RestrictedPreference
67 android:key="credentials_reset"
68 android:title="@string/credentials_reset"
Fan Zhangb2aae6c2017-11-02 14:09:34 -070069 android:summary="@string/credentials_reset_summary"
70 settings:userRestriction="no_config_credentials">
Doris Ling81610542017-02-15 17:49:18 -080071
Fan Zhangc58a8832017-11-01 17:59:53 -070072 <intent
73 android:action="com.android.credentials.RESET"
Fan Zhang4799e542019-02-08 14:54:05 -080074 android:targetPackage="com.android.settings" />
Doris Ling81610542017-02-15 17:49:18 -080075
76 </com.android.settingslib.RestrictedPreference>
77
78 </PreferenceCategory>
79
80</PreferenceScreen>