Revert "Remove mobile network settings related declaration"
This reverts commit 93a9f8faac4630708ebf927e9cce091188cebe2a.
Reason for revert: <The new mobile network settings have not cherry-picked to AOSP, the mobile network settings page can't be opened with this CL. So just revert this CL and submit one to the internal master>
Change-Id: I1ab7747cd557ab2419567c5d1868212773661df7
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 59f61eb..ce774d8 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -258,6 +258,39 @@
android:theme="@android:style/Theme.Translucent.NoTitleBar"
android:exported="false"/>
+ <!-- "Mobile network settings" screen, used on both
+ non-voice-capable tablets and regular phone devices. -->
+ <activity android:name="MobileNetworkSettings"
+ android:label="@string/network_settings_title"
+ android:theme="@style/NetworkOperatorsSettingsTheme">
+ <intent-filter>
+ <action android:name="android.intent.action.VIEW" />
+ <action android:name="android.intent.action.MAIN" />
+ <action android:name="android.settings.NETWORK_OPERATOR_SETTINGS" />
+ <action android:name="android.settings.DATA_ROAMING_SETTINGS" />
+ <category android:name="android.intent.category.DEFAULT" />
+ </intent-filter>
+ </activity>
+
+ <activity-alias android:name="Settings"
+ android:targetActivity="MobileNetworkSettings" />
+
+ <!-- networks setting -->
+ <!-- "Choose network" screen. Used only when the Automatically
+ select network turned off-->
+ <activity android:name="NetworkSelectSettingActivity"
+ android:label="@string/choose_network_title"
+ android:theme="@style/NetworkOperatorsSettingsTheme"
+ android:configChanges="orientation|screenSize">
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN" />
+ <category android:name="android.intent.category.DEFAULT" />
+ </intent-filter>
+ </activity>
+
+ <!-- service to handle network query requests sent to RIL -->
+ <service android:name="NetworkQueryService" />
+
<activity android:name="GsmUmtsCallOptions"
android:label="@string/gsm_umts_options"
android:theme="@style/DialerSettingsLight">