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 <com.android.tv.twopanelsettings.slices.SlicePreference 37 android:key="usageAndDiag" 38 android:title="@string/system_diagnostic" 39 android:fragment="com.android.tv.twopanelsettings.slices.SliceFragment" 40 custom:uri="content://com.google.android.settings.usage/usagediagnostics"> 41 <intent android:action="com.google.android.settings.USAGE_AND_DIAGNOSTICS_SETTING"/> 42 </com.android.tv.twopanelsettings.slices.SlicePreference> 43 <Preference 44 android:key="ads" 45 android:title="@string/about_ads"/> 46 47 <PreferenceCategory 48 android:key="accountSettings" 49 android:title="@string/privacy_account_settings_category" 50 android:visible="false" /> 51 52 <com.android.tv.twopanelsettings.slices.SlicePreference 53 android:key="assistant" 54 android:title="@string/privacy_assistant_settings_title" 55 android:fragment="com.android.tv.twopanelsettings.slices.SliceFragment" 56 custom:isPreferenceVisible="false" 57 custom:uri="@string/privacy_assistant_slice_uri" /> 58 59 <com.android.tv.twopanelsettings.slices.SlicePreference 60 android:key="purchases" 61 android:title="@string/privacy_purchases_settings_title" 62 android:visible="false" 63 android:fragment="com.android.tv.twopanelsettings.slices.SliceFragment" 64 custom:isPreferenceVisible="false" 65 custom:uri="@string/privacy_purchases_slice_uri" /> 66 67 <PreferenceCategory android:title="@string/privacy_app_settings_category" /> 68 69 <Preference 70 android:key="permissions" 71 android:title="@string/device_apps_permissions"> 72 <intent android:action="android.intent.action.MANAGE_PERMISSIONS"/> 73 </Preference> 74 <Preference 75 android:key="specialAccess" 76 android:title="@string/special_access" 77 android:fragment="com.android.tv.settings.device.apps.specialaccess.SpecialAppAccess" /> 78 <Preference 79 android:key="security" 80 android:title="@string/system_security" 81 android:fragment="com.android.tv.settings.system.SecurityFragment" /> 82 83</PreferenceScreen> 84