1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2023 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
19    xmlns:android="http://schemas.android.com/apk/res/android"
20    xmlns:settings="http://schemas.android.com/apk/res-auto"
21    android:key="user_and_account_settings_screen"
22    android:title="@string/account_dashboard_title_with_passkeys"
23    settings:keywords="@string/keywords_accounts">
24
25    <com.android.settingslib.widget.TopIntroPreference
26      android:title="@string/credman_main_settings_intro_text" />
27
28    <PreferenceCategory
29        android:key="default_service_category"
30        android:order="10"
31        android:title="@string/credman_chosen_app_title">
32
33        <com.android.settings.applications.credentials.PrimaryProviderPreference
34            android:key="default_credman_autofill_private"
35            android:title="@string/credman_chosen_app_title"
36            settings:searchable="false">
37            settings:keywords="@string/credman_autofill_keywords">
38            <extra
39                android:name="for_work"
40                android:value="false" />
41        </com.android.settings.applications.credentials.PrimaryProviderPreference>
42    </PreferenceCategory>
43
44    <PreferenceCategory
45        android:key="credman_category"
46        android:order="20"
47        android:persistent="false"
48        android:title="@string/credman_credentials"
49        settings:controller="com.android.settings.applications.credentials.CredentialManagerPreferenceController"
50        settings:keywords="@string/credman_keywords" />
51
52    <PreferenceCategory
53        android:key="dashboard_tile_placeholder"
54        android:order="130"/>
55
56    <SwitchPreferenceCompat
57        android:key="auto_sync_account_data"
58        android:title="@string/auto_sync_account_title"
59        android:summary="@string/auto_sync_account_summary"
60        android:order="200"
61        settings:allowDividerAbove="true"/>
62
63    <SwitchPreferenceCompat
64        android:key="auto_sync_private_account_data"
65        android:title="@string/account_settings_menu_auto_sync_private"
66        android:summary="@string/auto_sync_account_summary"
67        android:order="210"/>
68
69</PreferenceScreen>