• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2009-2011 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:title="@string/privacy_settings_title">
21
22    <!-- Backup settings -->
23    <Preference
24        android:key="backup_data"
25        android:title="@string/backup_data_title"
26        android:persistent="false"
27        android:fragment="com.android.settings.backup.ToggleBackupSettingFragment"
28        settings:controller="com.android.settings.backup.BackupDataPreferenceController" />
29
30    <Preference
31        android:key="configure_account"
32        android:title="@string/backup_configure_account_title"
33        android:persistent="false"
34        settings:controller="com.android.settings.backup.ConfigureAccountPreferenceController">
35        <!-- the Intent declared here is always overwritten by a real one -->
36        <intent android:action="placeholder" />
37    </Preference>
38
39    <Preference
40        android:key="data_management"
41        android:title="@string/backup_data_management_title"
42        settings:controller="com.android.settings.backup.DataManagementPreferenceController" />
43
44    <SwitchPreference
45        android:key="auto_restore"
46        android:title="@string/auto_restore_title"
47        android:summary="@string/auto_restore_summary"
48        settings:controller="com.android.settings.backup.AutoRestorePreferenceController" />
49
50    <Preference
51        android:key="backup_inactive"
52        android:title="@string/disabled_by_administrator_summary"
53        android:enabled="false"
54        android:selectable="false"
55        settings:controller="com.android.settings.backup.BackupInactivePreferenceController" />
56
57</PreferenceScreen>
58