diff options
author | Amith Yamasani <yamasani@google.com> | 2009-09-22 13:50:19 -0700 |
---|---|---|
committer | Amith Yamasani <yamasani@google.com> | 2009-09-23 15:01:11 -0700 |
commit | e65c943f974966e21c6f18dc9a95107ea1f07631 (patch) | |
tree | e591365b25c8288ae045e523e62c32f4f10b6080 /res/xml/privacy_settings.xml | |
parent | 0ce6f6dbc842b4a9fce0c34850b17bf543a12ed0 (diff) | |
download | packages_apps_Settings-e65c943f974966e21c6f18dc9a95107ea1f07631.tar.gz packages_apps_Settings-e65c943f974966e21c6f18dc9a95107ea1f07631.tar.bz2 packages_apps_Settings-e65c943f974966e21c6f18dc9a95107ea1f07631.zip |
New Privacy settings screen and Backup settings toggle. See #2132044 & #2133178
Also fixes 2138367: Share with Google setting doesn't get updated on checking the setting
And 2098232: "Set unlock pattern" should be at the top of the section
Diffstat (limited to 'res/xml/privacy_settings.xml')
-rw-r--r-- | res/xml/privacy_settings.xml | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/res/xml/privacy_settings.xml b/res/xml/privacy_settings.xml new file mode 100644 index 000000000..92955a540 --- /dev/null +++ b/res/xml/privacy_settings.xml @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2009 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"> + + <PreferenceCategory android:key="location_category" + android:title="@string/location_section_title"> + <!-- Share location with Google --> + <CheckBoxPreference + android:key="use_location" + android:title="@string/use_location_title" + android:persistent="false" + android:summary="@string/use_location_summary"/> + </PreferenceCategory> + + <PreferenceCategory android:key="settings_category" + android:title="@string/settings_section_title"> + <!-- Backup settings --> + <CheckBoxPreference + android:key="backup_settings" + android:title="@string/backup_settings_title" + android:persistent="false" /> + </PreferenceCategory> + + <PreferenceCategory + android:title="@string/personal_data_section_title"> + <!-- Factory reset --> + <PreferenceScreen + android:title="@string/master_clear_title" + android:summary="@string/master_clear_summary"> + <intent android:action="android.intent.action.MAIN" + android:targetPackage="com.android.settings" + android:targetClass="com.android.settings.MasterClear" /> + </PreferenceScreen> + </PreferenceCategory> + +</PreferenceScreen> |