1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2020 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                  android:title="@string/privacy_category_title"
20                  xmlns:custom="http://schemas.android.com/apk/res-auto">
21
22    <PreferenceCategory android:title="@string/privacy_device_settings_category" />
23
24    <Preference
25        android:key="location"
26        android:title="@string/system_location"
27        android:fragment="com.android.tv.settings.system.LocationFragment" />
28    <Preference
29        android:key="microphone"
30        android:title="@string/microphone"
31        android:fragment="com.android.tv.settings.privacy.SensorFragment" />
32    <Preference
33        android:key="camera"
34        android:title="@string/camera"
35        android:fragment="com.android.tv.settings.privacy.SensorFragment" />
36
37    <com.android.tv.twopanelsettings.slices.SlicePreference
38        android:key="usageAndDiag"
39        android:title="@string/system_diagnostic"
40        android:fragment="com.android.tv.twopanelsettings.slices.SliceFragment"
41        custom:uri="content://com.google.android.settings.usage/usagediagnostics">
42        <intent android:action="com.google.android.settings.USAGE_AND_DIAGNOSTICS_SETTING"/>
43    </com.android.tv.twopanelsettings.slices.SlicePreference>
44    <com.android.tv.twopanelsettings.slices.CustomContentDescriptionPreference
45        android:key="ads"
46        android:title="@string/about_ads"
47        android:fragment="com.android.tv.settings.privacy.AdsInfoFragment"/>
48
49    <PreferenceCategory
50        android:key="accountSettings"
51        android:title="@string/privacy_account_settings_category"
52        android:visible="false" />
53
54    <com.android.tv.twopanelsettings.slices.SlicePreference
55        android:key="assistant"
56        android:title="@string/privacy_assistant_settings_title"
57        android:fragment="com.android.tv.twopanelsettings.slices.SliceFragment"
58        custom:isPreferenceVisible="false"
59        custom:uri="@string/privacy_assistant_slice_uri" />
60
61    <com.android.tv.twopanelsettings.slices.SlicePreference
62        android:key="purchases"
63        android:title="@string/privacy_purchases_settings_title"
64        android:visible="false"
65        android:fragment="com.android.tv.twopanelsettings.slices.SliceFragment"
66        custom:isPreferenceVisible="false"
67        custom:uri="@string/privacy_purchases_slice_uri" />
68
69    <PreferenceCategory android:title="@string/privacy_app_settings_category" />
70
71    <com.android.tv.twopanelsettings.slices.SlicePreference
72        android:key="update"
73        android:title="@string/update_slice_title"
74        android:fragment="com.android.tv.twopanelsettings.slices.SliceFragment"
75        custom:uri="@string/update_slice_uri"/>
76
77    <Preference
78        android:key="permissions"
79        android:title="@string/device_apps_permissions">
80        <intent android:action="android.intent.action.MANAGE_PERMISSIONS"/>
81    </Preference>
82    <Preference
83        android:key="specialAccess"
84        android:title="@string/special_access"
85        android:fragment="com.android.tv.settings.device.apps.specialaccess.SpecialAppAccess" />
86
87    <Preference
88        android:fragment="com.android.tv.settings.system.SecurityFragment"
89        android:key="security"
90        android:title="@string/system_security"/>
91
92    <com.android.tv.twopanelsettings.slices.SlicePreference
93        android:key="overlay_security"
94        android:title="@string/overlay_security_slice_title"
95        android:fragment="com.android.tv.twopanelsettings.slices.SliceFragment"
96        custom:uri="@string/overlay_security_slice_uri"/>
97</PreferenceScreen>
98