From a6dbaea2dacaaef7c91f89aae8d5f1ed7580b893 Mon Sep 17 00:00:00 2001
From: Brian Muramatsu <btmura@google.com>
Date: Mon, 17 Sep 2012 23:09:35 -0700
Subject: 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
---
 res/xml/device_info_settings.xml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

(limited to 'res/xml/device_info_settings.xml')

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"
-- 
cgit v1.2.3