• 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<!-- 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_trust_agents"
56            android:title="@string/disable_keyguard_trust_agents" />
57
58    </PreferenceCategory>
59
60    <PreferenceCategory
61        android:title="@string/trust_agent_category" >
62
63        <EditTextPreference
64            android:key="key_trust_agent_component"
65            android:title="@string/set_trust_agent_component_name"
66            android:dialogTitle="@string/set_trust_agent_component_name" />
67
68        <EditTextPreference
69            android:key="key_trust_agent_features"
70            android:title="@string/set_trust_agent_feature_list"
71            android:dialogTitle="@string/set_trust_agent_feature_list" />
72
73    </PreferenceCategory>
74
75</PreferenceScreen>
76