Add support to display regulatory info from *#07#.
Add a new action and Activity so the phone dialer can display
regulatory info via "*#07#".
Regulatory info is supplied per device by a Settings app resource
overlay. This overlay must set the boolean resource
"config_show_regulatory_info" to true, and provide either a drawable
named "regulatory_info.png" with the info in graphical form, or a
string resource named "regulatory_info_text" containing the required
information in HTML format.
Bug: 8259869
Change-Id: I73c1431a1a6d1736f9d3e4bd5be7e3771c85cbcb
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 4e8ef57..59b562d 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -1579,6 +1579,17 @@
android:resource="@id/security_settings" />
</activity>
+ <!-- Show regulatory info (from settings item or dialing "*#07#") -->
+ <activity android:name="RegulatoryInfoDisplayActivity"
+ android:label="@string/regulatory_information"
+ android:taskAffinity=""
+ android:excludeFromRecents="true">
+ <intent-filter>
+ <action android:name="android.settings.SHOW_REGULATORY_INFO" />
+ <category android:name="android.intent.category.DEFAULT" />
+ </intent-filter>
+ </activity>
+
<receiver android:name=".widget.SettingsAppWidgetProvider"
android:label="@string/gadget_title"
android:exported="false"