Merge "[Settings] Avoid crash from rotation screen." am: 04e416d68c
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1916818
Change-Id: I33dcb20edcdd04ba2401df931ce8c345341ce3d2
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 653116b..b9d62f3 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -141,7 +141,8 @@
<activity android:name=".network.telephony.MobileNetworkActivity"
android:label="@string/network_settings_title"
android:exported="true"
- android:launchMode="singleTask">
+ android:launchMode="singleTask"
+ android:configChanges="orientation|screenSize|keyboardHidden">
<intent-filter android:priority="1">
<!-- Displays the MobileNetworkActivity and opt-in dialog for capability discovery. -->
<action android:name="android.telephony.ims.action.SHOW_CAPABILITY_DISCOVERY_OPT_IN" />