OSDN Git Service

92955a54011785bb0c3919066c3e847786b2d2a3
[android-x86/packages-apps-Settings.git] / res / xml / privacy_settings.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2009 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
19     <PreferenceCategory android:key="location_category"
20             android:title="@string/location_section_title">
21         <!-- Share location with Google -->
22         <CheckBoxPreference
23                 android:key="use_location"
24                 android:title="@string/use_location_title"
25                 android:persistent="false"
26                 android:summary="@string/use_location_summary"/>
27     </PreferenceCategory>
28
29     <PreferenceCategory android:key="settings_category"
30             android:title="@string/settings_section_title">
31         <!-- Backup settings -->
32         <CheckBoxPreference
33                 android:key="backup_settings"
34                 android:title="@string/backup_settings_title"
35                 android:persistent="false" />
36     </PreferenceCategory>
37
38     <PreferenceCategory
39             android:title="@string/personal_data_section_title">
40         <!-- Factory reset -->
41         <PreferenceScreen
42                 android:title="@string/master_clear_title"
43                 android:summary="@string/master_clear_summary">
44             <intent android:action="android.intent.action.MAIN"
45                     android:targetPackage="com.android.settings"
46                     android:targetClass="com.android.settings.MasterClear" />
47         </PreferenceScreen>
48     </PreferenceCategory>
49
50 </PreferenceScreen>