1<?xml version="1.0" encoding="utf-8"?> 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="user_and_account_settings_screen" 21 android:title="@string/account_dashboard_title_with_passkeys" 22 settings:keywords="@string/keywords_accounts"> 23 24 <com.android.settingslib.widget.TopIntroPreference 25 android:title="@string/credman_main_settings_intro_text" /> 26 27 <PreferenceCategory 28 android:key="default_service_category" 29 android:order="10" 30 android:title="@string/credman_chosen_app_title"> 31 32 <com.android.settings.applications.credentials.PrimaryProviderPreference 33 android:key="default_credman_autofill_main" 34 android:title="@string/credman_chosen_app_title" 35 settings:keywords="@string/credman_autofill_keywords"> 36 <extra 37 android:name="for_work" 38 android:value="false" /> 39 </com.android.settings.applications.credentials.PrimaryProviderPreference> 40 </PreferenceCategory> 41 42 <PreferenceCategory 43 android:key="credman_category" 44 android:order="20" 45 android:persistent="false" 46 android:title="@string/credman_credentials" 47 settings:controller="com.android.settings.applications.credentials.CredentialManagerPreferenceController" 48 settings:keywords="@string/credman_keywords" /> 49 50 <PreferenceCategory 51 android:key="dashboard_tile_placeholder" 52 android:order="130"/> 53 54 <SwitchPreferenceCompat 55 android:key="auto_sync_account_data" 56 android:title="@string/auto_sync_account_title" 57 android:summary="@string/auto_sync_account_summary" 58 android:order="202" 59 settings:allowDividerAbove="true"/> 60 61 <SwitchPreferenceCompat 62 android:key="auto_sync_work_account_data" 63 android:title="@string/account_settings_menu_auto_sync_work" 64 android:summary="@string/auto_sync_account_summary" 65 settings:forWork="true" 66 android:order="203"/> 67 68 <SwitchPreferenceCompat 69 android:key="auto_sync_personal_account_data" 70 android:title="@string/account_settings_menu_auto_sync_personal" 71 android:summary="@string/auto_sync_account_summary" 72 android:order="204"/> 73 74</PreferenceScreen>