blob: 2fc3ca49d145a06890805d38e54d5a1c9aa0df60 [file] [log] [blame]
Amith Yamasanie65c9432009-09-22 13:50:19 -07001<?xml version="1.0" encoding="utf-8"?>
Christopher Tate4f338782011-07-25 12:09:10 -07002<!-- Copyright (C) 2009-2011 The Android Open Source Project
Amith Yamasanie65c9432009-09-22 13:50:19 -07003
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
Julia Reynolds2c539332014-06-11 12:56:02 -04007
Amith Yamasanie65c9432009-09-22 13:50:19 -07008 http://www.apache.org/licenses/LICENSE-2.0
Julia Reynolds2c539332014-06-11 12:56:02 -04009
Amith Yamasanie65c9432009-09-22 13:50:19 -070010 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
sunnyshao15ec2cf2018-03-29 19:50:20 +080017<PreferenceScreen
18 xmlns:android="http://schemas.android.com/apk/res/android"
Fan Zhang74c61d12017-11-17 16:49:54 -080019 xmlns:settings="http://schemas.android.com/apk/res-auto"
Stuart Scottbe903412014-07-24 19:22:06 -070020 android:title="@string/privacy_settings_title">
Amith Yamasanie65c9432009-09-22 13:50:19 -070021
Stuart Scottbe903412014-07-24 19:22:06 -070022 <!-- Backup settings -->
Fan Zhangac81f262016-12-21 17:06:38 +000023 <Preference
Stuart Scottbe903412014-07-24 19:22:06 -070024 android:key="backup_data"
25 android:title="@string/backup_data_title"
Matthew Williams6ee5a4d2015-05-15 21:14:14 -070026 android:persistent="false"
sunnyshao15ec2cf2018-03-29 19:50:20 +080027 android:fragment="com.android.settings.backup.ToggleBackupSettingFragment"
28 settings:controller="com.android.settings.backup.BackupDataPreferenceController" />
Fabrice Di Meglioe6b336d2014-07-10 14:59:46 -070029
Fan Zhangac81f262016-12-21 17:06:38 +000030 <Preference
Stuart Scottbe903412014-07-24 19:22:06 -070031 android:key="configure_account"
32 android:title="@string/backup_configure_account_title"
sunnyshao15ec2cf2018-03-29 19:50:20 +080033 android:persistent="false"
34 settings:controller="com.android.settings.backup.ConfigureAccountPreferenceController">
Stuart Scottbe903412014-07-24 19:22:06 -070035 <!-- the Intent declared here is always overwritten by a real one -->
36 <intent android:action="dummy" />
Fan Zhangac81f262016-12-21 17:06:38 +000037 </Preference>
Fabrice Di Meglioe6b336d2014-07-10 14:59:46 -070038
Fan Zhangac81f262016-12-21 17:06:38 +000039 <Preference
Vladislav Kuzkokovddb953f2016-01-25 17:51:55 +010040 android:key="data_management"
Fan Zhangd57e1b02018-04-20 13:53:55 -070041 android:title="@string/backup_data_management_title"
42 settings:controller="com.android.settings.backup.DataManagementPreferenceController" />
Vladislav Kuzkokovddb953f2016-01-25 17:51:55 +010043
Stuart Scottbe903412014-07-24 19:22:06 -070044 <SwitchPreference
45 android:key="auto_restore"
46 android:title="@string/auto_restore_title"
sunnyshao15ec2cf2018-03-29 19:50:20 +080047 android:summary="@string/auto_restore_summary"
48 settings:controller="com.android.settings.backup.AutoRestorePreferenceController" />
Fabrice Di Meglioe6b336d2014-07-10 14:59:46 -070049
Stuart Scottbe903412014-07-24 19:22:06 -070050 <Preference
51 android:key="backup_inactive"
Annie Meng6e2a67f2019-05-08 15:18:10 +010052 android:title="@string/disabled_by_administrator_summary"
Stuart Scottbe903412014-07-24 19:22:06 -070053 android:enabled="false"
sunnyshao15ec2cf2018-03-29 19:50:20 +080054 android:selectable="false"
55 settings:controller="com.android.settings.backup.BackupInactivePreferenceController" />
Fabrice Di Meglioe6b336d2014-07-10 14:59:46 -070056
Amith Yamasanie65c9432009-09-22 13:50:19 -070057</PreferenceScreen>