• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2011 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 xmlns:android="http://schemas.android.com/apk/res/android"
18        xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
19        android:title="@string/security_settings_title">
20
21    <PreferenceCategory android:key="sim_lock"
22            android:title="@string/sim_lock_settings_title"
23            android:persistent="false">
24
25        <Preference android:key="sim_lock_settings"
26                android:title="@string/sim_lock_settings_category"
27                android:persistent="false">
28
29            <intent android:action="android.intent.action.MAIN"
30                    android:targetPackage="com.android.settings"
31                    android:targetClass="com.android.settings.Settings$IccLockSettingsActivity"/>
32
33        </Preference>
34
35    </PreferenceCategory>
36
37    <PreferenceCategory android:title="@string/security_passwords_title"
38            android:persistent="false">
39
40        <SwitchPreference android:key="show_password"
41                android:title="@string/show_password"/>
42
43    </PreferenceCategory>
44
45    <PreferenceCategory android:key="device_admin_category"
46            android:title="@string/device_admin_title"
47            android:persistent="false">
48
49        <Preference android:key="manage_device_admin"
50                android:title="@string/manage_device_admin"
51                android:summary="@string/manage_device_admin_summary"
52                android:persistent="false"
53                android:fragment="com.android.settings.DeviceAdminSettings"/>
54
55        <com.android.settingslib.RestrictedSwitchPreference android:key="toggle_install_applications"
56                android:title="@string/install_applications"
57                android:summaryOff="@string/install_unknown_applications"
58                android:summaryOn="@string/install_unknown_applications"
59                settings:useAdditionalSummary="true" />
60
61    </PreferenceCategory>
62
63    <PreferenceCategory android:key="credentials_management"
64            android:title="@string/credentials_title"
65            android:persistent="false">
66
67        <com.android.settingslib.RestrictedPreference android:key="credential_storage_type"
68                android:title="@string/credential_storage_type"
69                android:persistent="false" />
70
71        <Preference android:key="trusted_credentials"
72                android:title="@string/trusted_credentials"
73                android:summary="@string/trusted_credentials_summary"
74                android:persistent="false"
75                android:fragment="com.android.settings.TrustedCredentialsSettings"/>
76
77        <com.android.settingslib.RestrictedPreference android:key="user_credentials"
78                android:title="@string/user_credentials"
79                android:summary="@string/user_credentials_summary"
80                android:persistent="false"
81                android:fragment="com.android.settings.UserCredentialsSettings"/>
82
83        <com.android.settingslib.RestrictedPreference android:key="credentials_install"
84                android:title="@string/credentials_install"
85                android:summary="@string/credentials_install_summary"
86                android:persistent="false">
87
88            <intent android:action="android.credentials.INSTALL"
89                    android:targetPackage="com.android.certinstaller"
90                    android:targetClass="com.android.certinstaller.CertInstallerMain"/>
91
92        </com.android.settingslib.RestrictedPreference>
93
94        <com.android.settingslib.RestrictedPreference android:key="credentials_reset"
95                android:title="@string/credentials_reset"
96                android:summary="@string/credentials_reset_summary"
97                android:persistent="false">
98
99            <intent android:action="com.android.credentials.RESET"
100                    android:targetPackage="com.android.settings"
101                    android:targetClass="com.android.settings.CredentialStorage"/>
102
103        </com.android.settingslib.RestrictedPreference>
104
105    </PreferenceCategory>
106
107    <PreferenceCategory android:key="advanced_security"
108            android:title="@string/advanced_security_title"
109            android:persistent="false">
110
111        <Preference android:key="manage_trust_agents"
112                android:title="@string/manage_trust_agents"
113                android:summary="@string/manage_trust_agents_summary"
114                android:persistent="false"
115                android:fragment="com.android.settings.TrustAgentSettings"/>
116
117        <PreferenceScreen
118                android:key="screen_pinning_settings"
119                android:title="@string/screen_pinning_title"
120                android:summary="@string/switch_off_text"
121                android:fragment="com.android.settings.ScreenPinningSettings"/>
122
123        <Preference android:key="usage_access"
124                    android:title="@string/usage_access_title"
125                    android:fragment="com.android.settings.applications.ManageApplications">
126            <extra
127                android:name="classname"
128                android:value="com.android.settings.Settings$UsageAccessSettingsActivity" />
129        </Preference>
130
131    </PreferenceCategory>
132
133</PreferenceScreen>
134