summaryrefslogtreecommitdiffstats
path: root/res/xml
diff options
context:
space:
mode:
authorBrian Muramatsu <btmura@google.com>2012-09-18 18:39:29 -0700
committerBrian Muramatsu <btmura@google.com>2012-09-18 21:58:05 -0700
commitb585c62811064e29440bf6b50376a9a799da5173 (patch)
tree2e91f87ffd9bcc38ce2e5e387e6b035908982e0c /res/xml
parent27f155a4012aece82d58f7142960aec6414ade4d (diff)
downloadpackages_apps_settings-b585c62811064e29440bf6b50376a9a799da5173.zip
packages_apps_settings-b585c62811064e29440bf6b50376a9a799da5173.tar.gz
packages_apps_settings-b585c62811064e29440bf6b50376a9a799da5173.tar.bz2
Fix regulatory information dialog appearance
Bug 7081675 Replace RegulatoryInfoFragment with a custom preference so that the info shows up properly in a dialog. DialogFragments do not appear as dialogs when instantiated from preference XML files. Change-Id: Icbdf73bd5b1d14f28a01d7b9cb0f37d90340eb46
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/device_info_settings.xml5
1 files changed, 2 insertions, 3 deletions
diff --git a/res/xml/device_info_settings.xml b/res/xml/device_info_settings.xml
index 4fabc9d..03f1e78 100644
--- a/res/xml/device_info_settings.xml
+++ b/res/xml/device_info_settings.xml
@@ -89,9 +89,8 @@
</PreferenceScreen>
-->
- <Preference android:key="regulatory_info"
- android:title="@string/regulatory_information"
- android:fragment="com.android.settings.RegulatoryInfoFragment"/>
+ <com.android.settings.RegulatoryInfoPreference android:key="regulatory_info"
+ android:title="@string/regulatory_information" />
<!-- Device hardware model -->
<Preference android:key="device_model"