From b585c62811064e29440bf6b50376a9a799da5173 Mon Sep 17 00:00:00 2001 From: Brian Muramatsu Date: Tue, 18 Sep 2012 18:39:29 -0700 Subject: [PATCH] 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 --- res/layout/regulatory_info.xml | 6 ++++-- res/xml/device_info_settings.xml | 5 ++--- ...Fragment.java => RegulatoryInfoPreference.java} | 25 +++++++++------------- 3 files changed, 16 insertions(+), 20 deletions(-) rename src/com/android/settings/{RegulatoryInfoFragment.java => RegulatoryInfoPreference.java} (50%) diff --git a/res/layout/regulatory_info.xml b/res/layout/regulatory_info.xml index e4999a4492..dc1efe8c7f 100755 --- a/res/layout/regulatory_info.xml +++ b/res/layout/regulatory_info.xml @@ -14,6 +14,8 @@ limitations under the License. --> diff --git a/res/xml/device_info_settings.xml b/res/xml/device_info_settings.xml index 4fabc9d109..03f1e7857b 100644 --- a/res/xml/device_info_settings.xml +++ b/res/xml/device_info_settings.xml @@ -89,9 +89,8 @@ --> - +