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<!-- A set of preferences used to exercise the DevicePolicyManager API. -->
18<!-- This screen is shown for the "General" header. -->
19<PreferenceScreen
20    xmlns:android="http://schemas.android.com/apk/res/android" >
21
22    <PreferenceCategory
23        android:title="@string/enable_admin" >
24
25        <CheckBoxPreference
26            android:key="key_enable_admin"
27            android:title="@string/enable_admin" />
28
29    </PreferenceCategory>
30
31    <PreferenceCategory
32        android:title="@string/device_capabilities_category" >
33
34        <CheckBoxPreference
35            android:key="key_disable_camera"
36            android:title="@string/disable_camera" />
37
38        <CheckBoxPreference
39            android:key="key_disable_keyguard_widgets"
40            android:title="@string/disable_keyguard_widgets" />
41
42        <CheckBoxPreference
43            android:key="key_disable_keyguard_secure_camera"
44            android:title="@string/disable_keyguard_secure_camera" />
45
46        <CheckBoxPreference
47            android:key="key_disable_notifications"
48            android:title="@string/disable_keyguard_notifications" />
49
50        <CheckBoxPreference
51            android:key="key_disable_unredacted"
52            android:title="@string/disable_keyguard_unredacted_notifications" />
53
54        <CheckBoxPreference
55            android:key="key_disable_fingerprint"
56            android:title="@string/disable_keyguard_fingerprint" />
57
58        <CheckBoxPreference
59            android:key="key_disable_remote_input"
60            android:title="@string/disable_keyguard_remote_input" />
61
62        <CheckBoxPreference
63            android:key="key_disable_trust_agents"
64            android:title="@string/disable_keyguard_trust_agents" />
65
66    </PreferenceCategory>
67
68    <PreferenceCategory
69        android:title="@string/trust_agent_category" >
70
71        <EditTextPreference
72            android:key="key_trust_agent_component"
73            android:title="@string/set_trust_agent_component_name"
74            android:dialogTitle="@string/set_trust_agent_component_name" />
75
76        <EditTextPreference
77            android:key="key_trust_agent_features"
78            android:title="@string/set_trust_agent_feature_list"
79            android:dialogTitle="@string/set_trust_agent_feature_list" />
80
81    </PreferenceCategory>
82
83</PreferenceScreen>
84