summaryrefslogtreecommitdiffstats
path: root/res/xml
diff options
context:
space:
mode:
authorAmith Yamasani <yamasani@google.com>2009-06-11 22:32:33 -0700
committerAmith Yamasani <yamasani@google.com>2009-06-16 22:02:06 -0700
commitf06d8698a4a2de1973a25df0c6563bdfcba4eb03 (patch)
tree6377a0c3eabb0625eaf74ab38707cfeb4955044d /res/xml
parent14fa2b998630b7032b4e42b0bceb71f0df21fbdf (diff)
downloadpackages_apps_settings-f06d8698a4a2de1973a25df0c6563bdfcba4eb03.zip
packages_apps_settings-f06d8698a4a2de1973a25df0c6563bdfcba4eb03.tar.gz
packages_apps_settings-f06d8698a4a2de1973a25df0c6563bdfcba4eb03.tar.bz2
Add setting for allowing Google to use location for better search results.
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/security_settings.xml11
1 files changed, 9 insertions, 2 deletions
diff --git a/res/xml/security_settings.xml b/res/xml/security_settings.xml
index 788aae3..8dd9d89 100644
--- a/res/xml/security_settings.xml
+++ b/res/xml/security_settings.xml
@@ -17,11 +17,12 @@
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceCategory
+ android:key="location_category"
android:title="@string/location_title">
<CheckBoxPreference
android:key="location_network"
- android:title="@string/location_network_based"
+ android:title="@string/location_network_based"
android:summaryOn="@string/location_neighborhood_level"
android:summaryOff="@string/location_networks_disabled"/>
@@ -30,7 +31,13 @@
android:title="@string/location_gps"
android:summaryOn="@string/location_street_level"
android:summaryOff="@string/location_gps_disabled"/>
-
+
+ <CheckBoxPreference
+ android:key="use_location"
+ android:title="@string/use_location_title"
+ android:persistent="false"
+ android:summary="@string/use_location_summary"/>
+
</PreferenceCategory>
</PreferenceScreen>