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 <com.android.tv.twopanelsettings.slices.SlicePreference 29 android:key="usageAndDiag" 30 android:title="@string/system_diagnostic" 31 android:fragment="com.android.tv.twopanelsettings.slices.SliceFragment" 32 custom:uri="content://com.google.android.settings.usage/usagediagnostics"> 33 <intent android:action="com.google.android.settings.USAGE_AND_DIAGNOSTICS_SETTING"/> 34 </com.android.tv.twopanelsettings.slices.SlicePreference> 35 <Preference 36 android:key="ads" 37 android:title="@string/about_ads"> 38 <intent android:action="com.google.android.gms.settings.ADS_PRIVACY" /> 39 </Preference> 40 41 <PreferenceCategory android:title="@string/privacy_app_settings_category" /> 42 43 <com.android.tv.twopanelsettings.slices.SlicePreference 44 android:key="permissions" 45 android:title="@string/device_apps_permissions" 46 android:fragment="com.android.tv.twopanelsettings.slices.SliceFragment" 47 custom:uri="content://com.android.packageinstaller.permission/general" /> 48 <Preference 49 android:key="specialAccess" 50 android:title="@string/special_access" 51 android:fragment="com.android.tv.settings.device.apps.specialaccess.SpecialAppAccess" /> 52 <Preference 53 android:key="security" 54 android:title="@string/system_security" 55 android:fragment="com.android.tv.settings.system.SecurityFragment" /> 56 57</PreferenceScreen> 58