summaryrefslogtreecommitdiffstats
path: root/res/xml/device_info_settings.xml
diff options
context:
space:
mode:
authorBrian Muramatsu <btmura@google.com>2012-09-17 23:09:35 -0700
committerBrian Muramatsu <btmura@google.com>2012-09-18 11:46:35 -0700
commita6dbaea2dacaaef7c91f89aae8d5f1ed7580b893 (patch)
treef592d5156743263014dad2eeec1850b005911693 /res/xml/device_info_settings.xml
parent64c6ee20bae6cbf868ec4a0a3ffc7ce6fd10bdd6 (diff)
downloadpackages_apps_Settings-a6dbaea2dacaaef7c91f89aae8d5f1ed7580b893.tar.gz
packages_apps_Settings-a6dbaea2dacaaef7c91f89aae8d5f1ed7580b893.tar.bz2
packages_apps_Settings-a6dbaea2dacaaef7c91f89aae8d5f1ed7580b893.zip
Add optional regulatory info page
Bug 7081675 If R.bools.config_show_regulatory_info is true, then show a "Regulatory information" item on the "About phone" page. Show a DialogFragment displaying the regulatory_info drawable if the item is clicked. Add a 1x1 blank regulatory_info drawable for devices that won't show this. Change-Id: I5823d8969de038becf4911dce893dab5dbb23537
Diffstat (limited to 'res/xml/device_info_settings.xml')
-rw-r--r--res/xml/device_info_settings.xml6
1 files changed, 5 insertions, 1 deletions
diff --git a/res/xml/device_info_settings.xml b/res/xml/device_info_settings.xml
index 324deaaa3..4fabc9d10 100644
--- a/res/xml/device_info_settings.xml
+++ b/res/xml/device_info_settings.xml
@@ -89,6 +89,10 @@
</PreferenceScreen>
-->
+ <Preference android:key="regulatory_info"
+ android:title="@string/regulatory_information"
+ android:fragment="com.android.settings.RegulatoryInfoFragment"/>
+
<!-- Device hardware model -->
<Preference android:key="device_model"
style="?android:preferenceInformationStyle"
@@ -106,7 +110,7 @@
style="?android:preferenceInformationStyle"
android:title="@string/fcc_equipment_id"
android:summary="@string/device_info_default"/>
-
+
<!-- Device Baseband version -->
<Preference android:key="baseband_version"
style="?android:preferenceInformationStyle"