diff options
author | Mike Lockwood <lockwood@android.com> | 2009-06-25 16:39:48 -0400 |
---|---|---|
committer | Mike Lockwood <lockwood@android.com> | 2009-06-25 17:16:10 -0400 |
commit | d75fb2f92f237ea9c818551f1826f991be57284c (patch) | |
tree | 9f94b3435d9d1b3c6a2a5e5c641c2f046c5a4cb5 /res | |
parent | a4e9f21075b801a4a37b589133820ed8d58d11f7 (diff) | |
download | packages_apps_settings-d75fb2f92f237ea9c818551f1826f991be57284c.zip packages_apps_settings-d75fb2f92f237ea9c818551f1826f991be57284c.tar.gz packages_apps_settings-d75fb2f92f237ea9c818551f1826f991be57284c.tar.bz2 |
Settings: Add preference to enable/disable assisted GPS.
Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'res')
-rw-r--r-- | res/values/strings.xml | 6 | ||||
-rw-r--r-- | res/xml/security_settings.xml | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml index 5df6cf5..e090627 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -1143,6 +1143,12 @@ <string name="location_street_level">When locating, accurate to street level (deselect to conserve battery)</string> <!-- Security & location settings screen, setting summary when Enable GPS satellites check box is clear --> <string name="location_gps_disabled">Locate to street-level (requires more battery plus view of sky)</string> + <!-- Security & location settings screen, setting check box label if Assisted GPS should be enabled --> + <string name="assisted_gps">Enable assisted GPS</string> + <!-- Security & location settings screen, setting summary when Assisted GPS check box is selected --> + <string name="assisted_gps_enabled">Use server to assist GPS (deselect to reduce network usage)</string> + <!-- Security & location settings screen, setting summary when Assisted GPS check box is clear --> + <string name="assisted_gps_disabled">Use server to assist GPS (select to improve GPS performance)</string> <!-- Setting title for allow sending location to google --> <string name="use_location_title">Share with Google</string> <!-- Title of dialog to user requesting use of location information to improve services --> diff --git a/res/xml/security_settings.xml b/res/xml/security_settings.xml index 8dd9d89..5b90dba 100644 --- a/res/xml/security_settings.xml +++ b/res/xml/security_settings.xml @@ -33,6 +33,12 @@ android:summaryOff="@string/location_gps_disabled"/> <CheckBoxPreference + android:key="assisted_gps" + android:title="@string/assisted_gps" + android:summaryOn="@string/assisted_gps_enabled" + android:summaryOff="@string/assisted_gps_disabled"/> + + <CheckBoxPreference android:key="use_location" android:title="@string/use_location_title" android:persistent="false" |