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    <com.android.tv.twopanelsettings.slices.SlicePreference
25        android:key="deviceLock"
26        android:title="@string/privacy_device_lock_settings_title"
27        android:fragment="com.android.tv.twopanelsettings.slices.SliceFragment"
28        custom:isPreferenceVisible="false"
29        custom:uri="@string/privacy_device_lock_slice_uri" />
30
31    <Preference
32        android:key="location"
33        android:title="@string/system_location"
34        android:fragment="com.android.tv.settings.system.LocationFragment" />
35    <Preference
36        android:key="microphone"
37        android:title="@string/microphone"
38        android:fragment="com.android.tv.settings.privacy.MicrophoneFragment" />
39    <Preference
40        android:key="camera"
41        android:title="@string/camera"
42        android:fragment="com.android.tv.settings.privacy.SensorFragment" />
43    <com.android.tv.twopanelsettings.slices.SlicePreference
44        android:key="usageAndDiag"
45        android:title="@string/system_diagnostic"
46        android:fragment="com.android.tv.twopanelsettings.slices.SliceFragment"
47        custom:uri="content://com.google.android.settings.usage/usagediagnostics">
48        <intent android:action="com.google.android.settings.USAGE_AND_DIAGNOSTICS_SETTING"/>
49    </com.android.tv.twopanelsettings.slices.SlicePreference>
50    <Preference
51        android:key="ads"
52        android:title="@string/about_ads"/>
53
54    <PreferenceCategory
55        android:key="accountSettings"
56        android:title="@string/privacy_account_settings_category"
57        android:visible="false" />
58
59    <com.android.tv.twopanelsettings.slices.SlicePreference
60        android:key="assistant"
61        android:title="@string/privacy_assistant_settings_title"
62        android:fragment="com.android.tv.twopanelsettings.slices.SliceFragment"
63        custom:isPreferenceVisible="false"
64        custom:uri="@string/privacy_assistant_slice_uri" />
65
66    <com.android.tv.twopanelsettings.slices.SlicePreference
67        android:key="purchases"
68        android:title="@string/privacy_purchases_settings_title"
69        android:visible="false"
70        android:fragment="com.android.tv.twopanelsettings.slices.SliceFragment"
71        custom:isPreferenceVisible="false"
72        custom:uri="@string/privacy_purchases_slice_uri" />
73
74    <PreferenceCategory android:title="@string/privacy_app_settings_category" />
75
76    <Preference
77        android:key="permissions"
78        android:title="@string/device_apps_permissions">
79        <intent android:action="android.intent.action.MANAGE_PERMISSIONS"/>
80    </Preference>
81    <Preference
82        android:key="specialAccess"
83        android:title="@string/special_access"
84        android:fragment="com.android.tv.settings.device.apps.specialaccess.SpecialAppAccess" />
85    <Preference
86        android:key="security"
87        android:title="@string/system_security"
88        android:fragment="com.android.tv.settings.system.SecurityFragment" />
89
90</PreferenceScreen>
91