1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2021 The Android Open Source Project
4  ~
5  ~ Licensed under the Apache License, Version 2.0 (the "License");
6  ~ you may not use this file except in compliance with the License.
7  ~ You may obtain a copy of the License at
8  ~
9  ~      http://www.apache.org/licenses/LICENSE-2.0
10  ~
11  ~ Unless required by applicable law or agreed to in writing, software
12  ~ distributed under the License is distributed on an "AS IS" BASIS,
13  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  ~ See the License for the specific language governing permissions and
15  ~ limitations under the License.
16  -->
17
18<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
19    xmlns:settings="http://schemas.android.com/apk/res-auto"
20    android:title="@string/financed_privacy_settings">
21
22    <com.android.settingslib.widget.TopIntroPreference
23        android:title="@string/financed_privacy_intro"
24        settings:searchable="false" />
25
26    <PreferenceCategory android:key="restrictions_category"
27        android:order="100"
28        android:title="@string/financed_privacy_restrictions_category"
29        android:contentDescription="@string/financed_privacy_restrictions_category">
30        <Preference android:key="financed_privacy_install_apps"
31            android:order="110"
32            android:layout_height="wrap_content"
33            android:title="@string/financed_privacy_install_apps"
34            android:selectable="false" />
35        <Preference android:key="financed_privacy_safe_mode"
36            android:order="120"
37            android:layout_height="wrap_content"
38            android:title="@string/financed_privacy_safe_mode"
39            android:selectable="false" />
40        <Preference android:key="financed_privacy_multi_users"
41            android:order="130"
42            android:layout_height="wrap_content"
43            android:title="@string/financed_privacy_multi_users"
44            android:selectable="false" />
45        <Preference android:key="financed_privacy_config_date_time"
46            android:order="140"
47            android:layout_height="wrap_content"
48            android:title="@string/financed_privacy_config_date_time"
49            android:selectable="false" />
50        <Preference android:key="financed_privacy_developer_options"
51            android:order="150"
52            android:layout_height="wrap_content"
53            android:title="@string/financed_privacy_developer_options"
54            android:selectable="false" />
55    </PreferenceCategory>
56
57    <PreferenceCategory android:key="credit_provider_capabilities_category"
58        android:order="200"
59        android:title="@string/financed_privacy_credit_provider_capabilities_category"
60        android:contentDescription="@string/financed_privacy_credit_provider_capabilities_category">
61        <Preference android:key="financed_privacy_IMEI"
62            android:order="210"
63            android:layout_height="wrap_content"
64            android:title="@string/financed_privacy_IMEI"
65            android:selectable="false" />
66        <Preference android:key="financed_privacy_factory_reset"
67            android:order="220"
68            android:layout_height="wrap_content"
69            android:title="@string/financed_privacy_factory_reset"
70            android:selectable="false" />
71    </PreferenceCategory>
72
73    <PreferenceCategory android:key="locked_mode_category"
74        android:order="300"
75        android:title="@string/financed_privacy_locked_mode_category"
76        android:contentDescription="@string/financed_privacy_locked_mode_category">
77        <Preference android:key="financed_privacy_emergency_calls"
78            android:order="310"
79            android:layout_height="wrap_content"
80            android:title="@string/financed_privacy_emergency_calls"
81            android:selectable="false" />
82        <Preference android:key="financed_privacy_system_info"
83            android:order="320"
84            android:layout_height="wrap_content"
85            android:title="@string/financed_privacy_system_info"
86            android:selectable="false" />
87        <Preference android:key="financed_privacy_turn_on_off_device"
88            android:order="330"
89            android:layout_height="wrap_content"
90            android:title="@string/financed_privacy_turn_on_off_device"
91            android:selectable="false" />
92        <Preference android:key="financed_privacy_notifications"
93            android:order="340"
94            android:layout_height="wrap_content"
95            android:title="@string/financed_privacy_notifications"
96            android:selectable="false" />
97        <Preference android:key="financed_privacy_allowlisted_apps"
98            android:order="350"
99            android:layout_height="wrap_content"
100            android:title="@string/financed_privacy_allowlisted_apps"
101            android:selectable="false" />
102    </PreferenceCategory>
103
104    <PreferenceCategory android:key="fully_paid_category"
105        android:order="400"
106        android:title="@string/financed_privacy_fully_paid_category"
107        android:contentDescription="@string/financed_privacy_fully_paid_category">
108        <Preference android:key="financed_privacy_restrictions_removed"
109            android:order="410"
110            android:layout_height="wrap_content"
111            android:title="@string/financed_privacy_restrictions_removed"
112            android:selectable="false" />
113        <Preference android:key="financed_privacy_uninstall_creditor_app"
114            android:order="420"
115            android:layout_height="wrap_content"
116            android:title="@string/financed_privacy_uninstall_creditor_app"
117            android:selectable="false" />
118    </PreferenceCategory>
119
120</PreferenceScreen>
121