summaryrefslogtreecommitdiffstats
path: root/res/xml/device_info_settings.xml
diff options
context:
space:
mode:
authorWink Saville <wink@google.com>2009-09-26 16:47:18 -0700
committerWink Saville <wink@google.com>2009-09-26 21:10:38 -0700
commita40fb23734cc5d5ac6e69a060cbb488269ad8af3 (patch)
tree5551ed8889c1a50ed001a213ebb987589754d9e1 /res/xml/device_info_settings.xml
parent9281c929d6e4abf0ddf77d614b2eb57f7528397a (diff)
downloadpackages_apps_settings-a40fb23734cc5d5ac6e69a060cbb488269ad8af3.zip
packages_apps_settings-a40fb23734cc5d5ac6e69a060cbb488269ad8af3.tar.gz
packages_apps_settings-a40fb23734cc5d5ac6e69a060cbb488269ad8af3.tar.bz2
Add Safety information to Settings > About Phone
The Safety information link is stored in a system property, ro.url.safetylegal If the phone has data connection, select "Safety information" menu will open the Safety information link. If there is no data connection for the phone, a message will pop up which ask user to open Safety information link from PC. Change-Id: Ia46e2e868ebcda93138cb9f00c978d8ac827022a
Diffstat (limited to 'res/xml/device_info_settings.xml')
-rw-r--r--res/xml/device_info_settings.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/res/xml/device_info_settings.xml b/res/xml/device_info_settings.xml
index 56810b4..860c2ea 100644
--- a/res/xml/device_info_settings.xml
+++ b/res/xml/device_info_settings.xml
@@ -75,6 +75,12 @@
</PreferenceScreen>
+ <PreferenceScreen
+ android:key="safetylegal"
+ android:title="@string/settings_safetylegal_title">
+ <intent android:action="android.settings.SAFETY" />
+ </PreferenceScreen>
+
<!-- Contributors -->
<!--
<PreferenceScreen