Amith Yamasani | e65c943 | 2009-09-22 13:50:19 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
Christopher Tate | 4f33878 | 2011-07-25 12:09:10 -0700 | [diff] [blame] | 2 | <!-- Copyright (C) 2009-2011 The Android Open Source Project |
Amith Yamasani | e65c943 | 2009-09-22 13:50:19 -0700 | [diff] [blame] | 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 |
Julia Reynolds | 2c53933 | 2014-06-11 12:56:02 -0400 | [diff] [blame] | 7 | |
Amith Yamasani | e65c943 | 2009-09-22 13:50:19 -0700 | [diff] [blame] | 8 | http://www.apache.org/licenses/LICENSE-2.0 |
Julia Reynolds | 2c53933 | 2014-06-11 12:56:02 -0400 | [diff] [blame] | 9 | |
Amith Yamasani | e65c943 | 2009-09-22 13:50:19 -0700 | [diff] [blame] | 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 | |
sunnyshao | 15ec2cf | 2018-03-29 19:50:20 +0800 | [diff] [blame] | 17 | <PreferenceScreen |
| 18 | xmlns:android="http://schemas.android.com/apk/res/android" |
Fan Zhang | 74c61d1 | 2017-11-17 16:49:54 -0800 | [diff] [blame] | 19 | xmlns:settings="http://schemas.android.com/apk/res-auto" |
Stuart Scott | be90341 | 2014-07-24 19:22:06 -0700 | [diff] [blame] | 20 | android:title="@string/privacy_settings_title"> |
Amith Yamasani | e65c943 | 2009-09-22 13:50:19 -0700 | [diff] [blame] | 21 | |
Stuart Scott | be90341 | 2014-07-24 19:22:06 -0700 | [diff] [blame] | 22 | <!-- Backup settings --> |
Fan Zhang | ac81f26 | 2016-12-21 17:06:38 +0000 | [diff] [blame] | 23 | <Preference |
Stuart Scott | be90341 | 2014-07-24 19:22:06 -0700 | [diff] [blame] | 24 | android:key="backup_data" |
| 25 | android:title="@string/backup_data_title" |
Matthew Williams | 6ee5a4d | 2015-05-15 21:14:14 -0700 | [diff] [blame] | 26 | android:persistent="false" |
sunnyshao | 15ec2cf | 2018-03-29 19:50:20 +0800 | [diff] [blame] | 27 | android:fragment="com.android.settings.backup.ToggleBackupSettingFragment" |
| 28 | settings:controller="com.android.settings.backup.BackupDataPreferenceController" /> |
Fabrice Di Meglio | e6b336d | 2014-07-10 14:59:46 -0700 | [diff] [blame] | 29 | |
Fan Zhang | ac81f26 | 2016-12-21 17:06:38 +0000 | [diff] [blame] | 30 | <Preference |
Stuart Scott | be90341 | 2014-07-24 19:22:06 -0700 | [diff] [blame] | 31 | android:key="configure_account" |
| 32 | android:title="@string/backup_configure_account_title" |
sunnyshao | 15ec2cf | 2018-03-29 19:50:20 +0800 | [diff] [blame] | 33 | android:persistent="false" |
| 34 | settings:controller="com.android.settings.backup.ConfigureAccountPreferenceController"> |
Stuart Scott | be90341 | 2014-07-24 19:22:06 -0700 | [diff] [blame] | 35 | <!-- the Intent declared here is always overwritten by a real one --> |
| 36 | <intent android:action="dummy" /> |
Fan Zhang | ac81f26 | 2016-12-21 17:06:38 +0000 | [diff] [blame] | 37 | </Preference> |
Fabrice Di Meglio | e6b336d | 2014-07-10 14:59:46 -0700 | [diff] [blame] | 38 | |
Fan Zhang | ac81f26 | 2016-12-21 17:06:38 +0000 | [diff] [blame] | 39 | <Preference |
Vladislav Kuzkokov | ddb953f | 2016-01-25 17:51:55 +0100 | [diff] [blame] | 40 | android:key="data_management" |
Fan Zhang | d57e1b0 | 2018-04-20 13:53:55 -0700 | [diff] [blame] | 41 | android:title="@string/backup_data_management_title" |
| 42 | settings:controller="com.android.settings.backup.DataManagementPreferenceController" /> |
Vladislav Kuzkokov | ddb953f | 2016-01-25 17:51:55 +0100 | [diff] [blame] | 43 | |
Stuart Scott | be90341 | 2014-07-24 19:22:06 -0700 | [diff] [blame] | 44 | <SwitchPreference |
| 45 | android:key="auto_restore" |
| 46 | android:title="@string/auto_restore_title" |
sunnyshao | 15ec2cf | 2018-03-29 19:50:20 +0800 | [diff] [blame] | 47 | android:summary="@string/auto_restore_summary" |
| 48 | settings:controller="com.android.settings.backup.AutoRestorePreferenceController" /> |
Fabrice Di Meglio | e6b336d | 2014-07-10 14:59:46 -0700 | [diff] [blame] | 49 | |
Stuart Scott | be90341 | 2014-07-24 19:22:06 -0700 | [diff] [blame] | 50 | <Preference |
| 51 | android:key="backup_inactive" |
Annie Meng | 6e2a67f | 2019-05-08 15:18:10 +0100 | [diff] [blame] | 52 | android:title="@string/disabled_by_administrator_summary" |
Stuart Scott | be90341 | 2014-07-24 19:22:06 -0700 | [diff] [blame] | 53 | android:enabled="false" |
sunnyshao | 15ec2cf | 2018-03-29 19:50:20 +0800 | [diff] [blame] | 54 | android:selectable="false" |
| 55 | settings:controller="com.android.settings.backup.BackupInactivePreferenceController" /> |
Fabrice Di Meglio | e6b336d | 2014-07-10 14:59:46 -0700 | [diff] [blame] | 56 | |
Amith Yamasani | e65c943 | 2009-09-22 13:50:19 -0700 | [diff] [blame] | 57 | </PreferenceScreen> |