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 xmlns:android="http://schemas.android.com/apk/res/android" 18 xmlns:settings="http://schemas.android.com/apk/res/com.android.settings" 19 android:title="@string/privacy_settings_title"> 20 21 <PreferenceCategory android:key="backup_category" 22 android:title="@string/backup_section_title"> 23 24 <!-- Backup settings --> 25 <SwitchPreference 26 android:key="backup_data" 27 android:title="@string/backup_data_title" 28 android:summary="@string/backup_data_summary" 29 android:persistent="false" /> 30 31 <PreferenceScreen 32 android:key="configure_account" 33 android:title="@string/backup_configure_account_title" 34 android:summary="@string/backup_configure_account_default_summary" 35 android:persistent="false"> 36 <!-- the Intent declared here is always overwritten by a real one --> 37 <intent android:action="dummy" /> 38 </PreferenceScreen> 39 40 <SwitchPreference 41 android:key="auto_restore" 42 android:title="@string/auto_restore_title" 43 android:summary="@string/auto_restore_summary" 44 android:persistent="false" /> 45 46 <Preference 47 android:key="backup_inactive" 48 android:title="@string/backup_inactive_title" 49 android:summary="@string/backup_inactive_summary" 50 android:persistent="false" 51 android:enabled="false" 52 android:selectable="false" /> 53 54 </PreferenceCategory> 55 56 <PreferenceCategory android:key="personal_data_category" 57 android:title="@string/personal_data_section_title"> 58 59 <!-- Factory reset --> 60 <PreferenceScreen 61 android:title="@string/master_clear_title" 62 android:summary="@string/master_clear_summary" 63 settings:keywords="@string/keywords_factory_data_reset" 64 android:fragment="com.android.settings.MasterClear" /> 65 66 </PreferenceCategory> 67 68</PreferenceScreen> 69