- add back the summary loader for UserSettings - remove "configure" preference category - add summary for Auto sync data and update the title Change-Id: Ia00397f775f86d0e160a54783a8518847fce8de8 Bug: 36540644 Test: builds
58 lines
2.1 KiB
XML
58 lines
2.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2016 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
|
|
<PreferenceScreen
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
|
|
android:title="@string/account_dashboard_title"
|
|
settings:keywords="@string/keywords_accounts">
|
|
|
|
<Preference
|
|
android:key="emergency_info"
|
|
android:title="@string/emergency_info_title"
|
|
android:order="100"
|
|
settings:allowDividerAbove="true"/>
|
|
|
|
<SwitchPreference
|
|
android:key="auto_sync_account_data"
|
|
android:title="@string/auto_sync_account_title"
|
|
android:summary="@string/auto_sync_account_summary"
|
|
android:order="102"
|
|
settings:allowDividerAbove="true"/>
|
|
|
|
<SwitchPreference
|
|
android:key="auto_sync_work_account_data"
|
|
android:title="@string/account_settings_menu_auto_sync_work"
|
|
android:summary="@string/auto_sync_account_summary"
|
|
android:order="103"/>
|
|
|
|
<SwitchPreference
|
|
android:key="auto_sync_personal_account_data"
|
|
android:title="@string/account_settings_menu_auto_sync_personal"
|
|
android:summary="@string/auto_sync_account_summary"
|
|
android:order="104"/>
|
|
|
|
<com.android.settingslib.RestrictedSwitchPreference
|
|
android:key="add_users_when_locked"
|
|
android:title="@string/user_add_on_lockscreen_menu"
|
|
android:order="105"/>
|
|
|
|
<PreferenceCategory
|
|
android:key="dashboard_tile_placeholder"
|
|
android:order="200"/>
|
|
|
|
</PreferenceScreen>
|