summaryrefslogtreecommitdiffstats
path: root/res/xml
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2009-07-30 10:50:45 +0100
committerSteve Block <steveblock@google.com>2009-07-30 11:46:08 +0100
commitf344d03c0b01d30575ba1ddd1ed340705c6f5a97 (patch)
tree1d5cd67145e899b91d144a592b20a6c76720d36b /res/xml
parent734d07bb3ce3b65b51289143ca51013df01c1bd6 (diff)
downloadpackages_apps_Browser-f344d03c0b01d30575ba1ddd1ed340705c6f5a97.zip
packages_apps_Browser-f344d03c0b01d30575ba1ddd1ed340705c6f5a97.tar.gz
packages_apps_Browser-f344d03c0b01d30575ba1ddd1ed340705c6f5a97.tar.bz2
Adds browser settings menu entries for Geolocation permissions.
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/browser_preferences.xml19
1 files changed, 8 insertions, 11 deletions
diff --git a/res/xml/browser_preferences.xml b/res/xml/browser_preferences.xml
index dffb550..83c492e 100644
--- a/res/xml/browser_preferences.xml
+++ b/res/xml/browser_preferences.xml
@@ -134,23 +134,20 @@
android:dialogTitle="@string/clear"
android:dialogIcon="@android:drawable/ic_dialog_alert"/>
- <!-- below preferences will be shown when html5 location is implemented -->
- <!--
-
<CheckBoxPreference
- android:key="request_location"
+ android:key="enable_geolocation"
android:defaultValue="true"
- android:title="@string/pref_privacy_request_location"
- android:summary="@string/pref_privacy_request_location_summary" />
+ android:title="@string/pref_privacy_enable_geolocation"
+ android:summary="@string/pref_privacy_enable_geolocation_summary" />
<com.android.browser.BrowserYesNoPreference
- android:key="privacy_clear_location_requests"
- android:title="@string/pref_privacy_clear_location_requests"
- android:summary="@string/pref_privacy_clear_location_requests_summary"
- android:dialogMessage="@string/pref_privacy_clear_location_requests_dlg"
+ android:key="privacy_clear_geolocation_access"
+ android:dependency="enable_geolocation"
+ android:title="@string/pref_privacy_clear_geolocation_access"
+ android:summary="@string/pref_privacy_clear_geolocation_access_summary"
+ android:dialogMessage="@string/pref_privacy_clear_geolocation_access_dlg"
android:dialogTitle="@string/clear"
android:dialogIcon="@android:drawable/ic_dialog_alert"/>
- -->
</PreferenceCategory>