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 44 <com.android.tv.twopanelsettings.slices.SlicePreference 45 android:key="usageAndDiag" 46 android:title="@string/system_diagnostic" 47 android:fragment="com.android.tv.twopanelsettings.slices.SliceFragment" 48 custom:uri="content://com.google.android.settings.usage/usagediagnostics"> 49 <intent android:action="com.google.android.settings.USAGE_AND_DIAGNOSTICS_SETTING"/> 50 </com.android.tv.twopanelsettings.slices.SlicePreference> 51 <com.android.tv.twopanelsettings.slices.CustomContentDescriptionPreference 52 android:key="ads" 53 android:title="@string/about_ads" 54 android:fragment="com.android.tv.settings.privacy.AdsInfoFragment"/> 55 56 <PreferenceCategory 57 android:key="accountSettings" 58 android:title="@string/privacy_account_settings_category" 59 android:visible="false" /> 60 61 <com.android.tv.twopanelsettings.slices.SlicePreference 62 android:key="assistant" 63 android:title="@string/privacy_assistant_settings_title" 64 android:fragment="com.android.tv.twopanelsettings.slices.SliceFragment" 65 custom:isPreferenceVisible="false" 66 custom:uri="@string/privacy_assistant_slice_uri" /> 67 68 <com.android.tv.twopanelsettings.slices.SlicePreference 69 android:key="purchases" 70 android:title="@string/privacy_purchases_settings_title" 71 android:visible="false" 72 android:fragment="com.android.tv.twopanelsettings.slices.SliceFragment" 73 custom:isPreferenceVisible="false" 74 custom:uri="@string/privacy_purchases_slice_uri" /> 75 76 <PreferenceCategory android:title="@string/privacy_app_settings_category" /> 77 78 <com.android.tv.twopanelsettings.slices.SlicePreference 79 android:key="update" 80 android:title="@string/update_slice_title" 81 android:fragment="com.android.tv.twopanelsettings.slices.SliceFragment" 82 custom:uri="@string/update_slice_uri"/> 83 84 <Preference 85 android:key="permissions" 86 android:title="@string/device_apps_permissions"> 87 <intent android:action="android.intent.action.MANAGE_PERMISSIONS"/> 88 </Preference> 89 <Preference 90 android:key="specialAccess" 91 android:title="@string/special_access" 92 android:fragment="com.android.tv.settings.device.apps.specialaccess.SpecialAppAccess" /> 93 94 <Preference 95 android:fragment="com.android.tv.settings.system.SecurityFragment" 96 android:key="security" 97 android:title="@string/system_security"/> 98 99 <com.android.tv.twopanelsettings.slices.SlicePreference 100 android:key="overlay_security" 101 android:title="@string/overlay_security_slice_title" 102 android:fragment="com.android.tv.twopanelsettings.slices.SliceFragment" 103 custom:uri="@string/overlay_security_slice_uri"/> 104</PreferenceScreen> 105