1<!--
2  ~ Copyright (C) 2022 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:settings="http://schemas.android.com/apk/res-auto"
20    android:key="privacy_controls_page"
21    android:title="@string/privacy_controls_title">
22
23    <!-- Camera toggle -->
24    <com.android.permissioncontroller.safetycenter.ui.ClickableDisabledSwitchPreference
25        android:key="privacy_camera_toggle"
26        android:title="@string/camera_toggle_title"
27        android:summary="@string/perm_toggle_description" />
28
29    <!-- Microphone toggle -->
30    <com.android.permissioncontroller.safetycenter.ui.ClickableDisabledSwitchPreference
31        android:key="privacy_mic_toggle"
32        android:title="@string/mic_toggle_title"
33        android:summary="@string/mic_toggle_description"/>
34
35    <!-- Clipboard access notifications toggle -->
36    <com.android.permissioncontroller.safetycenter.ui.ClickableDisabledSwitchPreference
37        android:key="show_clip_access_notification"
38        android:title="@string/show_clip_access_notification_title"
39        android:summary="@string/show_clip_access_notification_summary" />
40
41    <!-- Show password toggle-->
42    <com.android.permissioncontroller.safetycenter.ui.ClickableDisabledSwitchPreference
43        android:key="show_password"
44        android:title="@string/show_password_title"
45        android:summary="@string/show_password_summary"/>
46
47    <!-- Location link -->
48    <Preference
49        android:key="privacy_location_access"
50        android:title="@string/location_settings"
51        android:summary="@string/location_settings_subtitle"/>
52
53</PreferenceScreen>
54