1<!-- 2 ~ Copyright (C) 2023 The Android Open Source Project 3 ~ 4 ~ Licensed under the Apache License, Version 2.0 (the "License"); 5 ~ you may not use this file except in compliance with the License. 6 ~ You may obtain a copy of the License at 7 ~ 8 ~ http://www.apache.org/licenses/LICENSE-2.0 9 ~ 10 ~ Unless required by applicable law or agreed to in writing, software 11 ~ distributed under the License is distributed on an "AS IS" BASIS, 12 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 ~ See the License for the specific language governing permissions and 14 ~ limitations under the License. 15 --> 16 17<PreferenceScreen 18 xmlns:android="http://schemas.android.com/apk/res/android" 19 xmlns:app="http://schemas.android.com/apk/res-auto"> 20 <com.android.permissioncontroller.safetycenter.ui.SafetyBrandChipPreference 21 android:key="subpage_brand_chip" 22 app:selectable="false"/> 23 24 <com.android.permissioncontroller.safetycenter.ui.ComparablePreferenceCategory 25 android:key="subpage_issue_group" 26 android:layout="@layout/preference_category_no_label" 27 app:selectable="false" /> 28 29 <com.android.permissioncontroller.safetycenter.ui.ComparablePreferenceCategory 30 android:key="subpage_generic_entry_group" 31 app:selectable="false" /> 32 33 <com.android.permissioncontroller.safetycenter.ui.ComparablePreferenceCategory 34 android:key="subpage_controls_entry_group" 35 android:title="@string/privacy_subpage_controls_header" 36 app:selectable="false"> 37 <com.android.permissioncontroller.safetycenter.ui.ClickableDisabledSwitchPreference 38 android:key="privacy_camera_toggle" 39 android:title="@string/camera_toggle_title" 40 android:summary="@string/perm_toggle_description" /> 41 42 <com.android.permissioncontroller.safetycenter.ui.ClickableDisabledSwitchPreference 43 android:key="privacy_mic_toggle" 44 android:title="@string/mic_toggle_title" 45 android:summary="@string/mic_toggle_description"/> 46 47 <com.android.permissioncontroller.safetycenter.ui.ClickableDisabledSwitchPreference 48 android:key="show_clip_access_notification" 49 android:title="@string/show_clip_access_notification_title" 50 android:summary="@string/show_clip_access_notification_summary" /> 51 52 <com.android.permissioncontroller.safetycenter.ui.ClickableDisabledSwitchPreference 53 android:key="show_password" 54 android:title="@string/show_password_title" 55 android:summary="@string/show_password_summary"/> 56 57 <Preference 58 android:key="privacy_location_access" 59 android:title="@string/location_settings" 60 android:summary="@string/location_settings_subtitle"/> 61 62 <com.android.permissioncontroller.safetycenter.ui.ComparablePreferenceCategory 63 android:key="subpage_controls_extra_entry_group" 64 android:layout="@layout/preference_category_no_label" 65 app:selectable="false" /> 66 </com.android.permissioncontroller.safetycenter.ui.ComparablePreferenceCategory> 67</PreferenceScreen> 68