Merge "[Settings] Avoid crash from rotation screen." into sc-v2-dev am: 0ad93a95c6

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16174733

Change-Id: I1ba69fa41b9781be762c45577b6a44546ac4e409
This commit is contained in:
Tom Hsu
2021-11-03 07:32:45 +00:00
committed by Automerger Merge Worker

View File

@@ -233,7 +233,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" />