1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2016 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-auto"
19                  android:key="enterprise_privacy_settings"
20                  android:title="@string/enterprise_privacy_settings">
21
22    <!-- Header -->
23    <Preference android:key="enterprise_privacy_header"
24                android:order="100"
25                android:icon="@drawable/ic_info_outline_24dp"
26                android:summary="@string/enterprise_privacy_header"
27                android:selectable="false"/>
28
29    <PreferenceCategory android:key="exposure_category"
30                        android:order="200"
31                        android:title="@string/enterprise_privacy_exposure_category"
32                        android:contentDescription="@string/enterprise_privacy_exposure_category">
33        <Preference android:key="enterprise_privacy_enterprise_data"
34                    android:order="210"
35                    android:layout_height="wrap_content"
36                    android:title="@string/enterprise_privacy_enterprise_data"
37                    android:selectable="false"/>
38        <Preference android:key="enterprise_privacy_installed_packages"
39                    android:order="220"
40                    android:title="@string/enterprise_privacy_installed_packages"
41                    android:selectable="false"/>
42        <Preference android:key="enterprise_privacy_usage_stats"
43                    android:order="230"
44                    android:title="@string/enterprise_privacy_usage_stats"
45                    android:selectable="false"/>
46        <Preference android:key="network_logs"
47                    android:order="240"
48                    android:title="@string/enterprise_privacy_network_logs"
49                    android:selectable="false"/>
50        <Preference android:key="bug_reports"
51                    android:order="250"
52                    android:title="@string/enterprise_privacy_bug_reports"
53                    android:selectable="false"/>
54        <Preference android:key="security_logs"
55                    android:order="260"
56                    android:title="@string/enterprise_privacy_security_logs"
57                    android:selectable="false"/>
58    </PreferenceCategory>
59
60    <PreferenceCategory android:title="@string/enterprise_privacy_exposure_changes_category"
61                        android:order="300"
62                        android:key="exposure_changes_category">
63        <Preference android:fragment="com.android.settings.enterprise.ApplicationListFragment$EnterpriseInstalledPackages"
64                    android:order="310"
65                    android:key="number_enterprise_installed_packages"
66                    android:title="@string/enterprise_privacy_enterprise_installed_packages"/>
67        <Preference android:fragment="com.android.settings.enterprise.ApplicationListFragment$AdminGrantedPermissionLocation"
68                    android:order="320"
69                    android:key="enterprise_privacy_number_location_access_packages"
70                    android:title="@string/enterprise_privacy_location_access"/>
71        <Preference android:fragment="com.android.settings.enterprise.ApplicationListFragment$AdminGrantedPermissionMicrophone"
72                    android:order="330"
73                    android:key="enterprise_privacy_number_microphone_access_packages"
74                    android:title="@string/enterprise_privacy_microphone_access"/>
75        <Preference android:fragment="com.android.settings.enterprise.ApplicationListFragment$AdminGrantedPermissionCamera"
76                    android:order="340"
77                    android:key="enterprise_privacy_number_camera_access_packages"
78                    android:title="@string/enterprise_privacy_camera_access"/>
79        <Preference android:fragment="com.android.settings.enterprise.EnterpriseSetDefaultAppsListFragment"
80                    android:order="350"
81                    android:key="number_enterprise_set_default_apps"
82                    android:title="@string/enterprise_privacy_enterprise_set_default_apps"/>
83        <Preference android:key="always_on_vpn_primary_user"
84                    android:order="360"
85                    android:selectable="false"/>
86        <Preference android:key="always_on_vpn_managed_profile"
87                    android:order="370"
88                    android:title="@string/enterprise_privacy_always_on_vpn_work"
89                    android:selectable="false"/>
90        <Preference android:key="input_method"
91                    android:order="380"
92                    android:title="@string/enterprise_privacy_input_method"
93                    android:selectable="false"/>
94        <Preference android:key="global_http_proxy"
95                    android:order="390"
96                    android:title="@string/enterprise_privacy_global_http_proxy"
97                    android:selectable="false"/>
98        <Preference android:key="ca_certs_current_user"
99                    android:order="400"
100                    android:title="@string/enterprise_privacy_ca_certs_personal"
101                    android:selectable="false"/>
102        <Preference android:key="ca_certs_managed_profile"
103                    android:order="410"
104                    android:title="@string/enterprise_privacy_ca_certs_work"
105                    android:selectable="false"/>
106    </PreferenceCategory>
107
108    <PreferenceCategory android:key="device_access_category"
109                        android:order="500"
110                        android:title="@string/enterprise_privacy_device_access_category">
111        <Preference android:key="enterprise_privacy_lock_device"
112                    android:order="510"
113                    android:title="@string/enterprise_privacy_lock_device"
114                    android:selectable="false"/>
115        <Preference android:key="enterprise_privacy_wipe_device"
116                    android:order="520"
117                    android:title="@string/enterprise_privacy_wipe_device"
118                    android:selectable="false"/>
119        <Preference android:key="failed_password_wipe_current_user"
120                    android:order="530"
121                    android:title="@string/enterprise_privacy_failed_password_wipe_device"
122                    android:selectable="false"/>
123        <Preference android:key="failed_password_wipe_managed_profile"
124                    android:order="540"
125                    android:title="@string/enterprise_privacy_failed_password_wipe_work"
126                    android:selectable="false"/>
127    </PreferenceCategory>
128</PreferenceScreen>
129