With multi-user backup, backup will be available or secondary users and profiles too. 1. When there are profile users, this CL changes UI flow A to B A. Settings Homepage -> System -> Google Backup Settings for primary user to B. Settings Homepage -> System -> Profile Select Dialog -> Google Backup Settings for chosen profile. Change done as per https://g3doc.corp.google.com/company/teams/apps-android-settings/howto/ia.md?cl=head 2. Functionality remains the same when there are no profiles (BackupSettingsHelper, BackupSettingsContentProvider) 3. Also, enabled Backup Settings for secondary users. (Previously, backup settings were only shown for system user).(SettingsGateway) Bug: 121198738 Test: 1) System -> Backup -> shows Profile Select Dialog -> Backup page for selected profile 2) On secondary user without profile, System -> Backup (with summary) -> Backup page for secondary user. Change-Id: I6e21279978a5dfc6eca6f5a34bbfc15a34eac68b
63 lines
2.7 KiB
XML
63 lines
2.7 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-auto"
|
|
android:key="system_dashboard_screen"
|
|
android:title="@string/header_category_system"
|
|
settings:initialExpandedChildrenCount="4">
|
|
|
|
<Preference
|
|
android:key="gesture_settings"
|
|
android:title="@string/gesture_preference_title"
|
|
android:icon="@drawable/ic_settings_gestures"
|
|
android:order="-250"
|
|
android:fragment="com.android.settings.gestures.GestureSettings"
|
|
settings:controller="com.android.settings.gestures.GesturesSettingPreferenceController"/>
|
|
|
|
<Preference
|
|
android:key="reset_dashboard"
|
|
android:title="@string/reset_dashboard_title"
|
|
android:summary="@string/reset_dashboard_summary"
|
|
android:icon="@drawable/ic_restore"
|
|
android:order="-50"
|
|
android:fragment="com.android.settings.system.ResetDashboardFragment"
|
|
settings:controller="com.android.settings.system.ResetPreferenceController"/>
|
|
|
|
<!-- System updates -->
|
|
<Preference
|
|
android:key="system_update_settings"
|
|
android:title="@string/system_update_settings_list_item_title"
|
|
android:summary="@string/summary_placeholder"
|
|
android:icon="@drawable/ic_system_update"
|
|
android:order="-30"
|
|
settings:keywords="@string/keywords_system_update_settings"
|
|
settings:controller="com.android.settings.system.SystemUpdatePreferenceController">
|
|
<intent android:action="android.settings.SYSTEM_UPDATE_SETTINGS" />
|
|
</Preference>
|
|
|
|
<Preference
|
|
android:key="additional_system_update_settings"
|
|
android:title="@string/additional_system_update_settings_list_item_title"
|
|
android:order="-31"
|
|
settings:controller="com.android.settings.system.AdditionalSystemUpdatePreferenceController">
|
|
<intent android:action="android.intent.action.MAIN"
|
|
android:targetPackage="@string/additional_system_update"
|
|
android:targetClass="@string/additional_system_update_menu" />
|
|
</Preference>
|
|
|
|
</PreferenceScreen> |