[Settings] Avoid crash from rotation screen.

Bug: b/200822579
Test: Local test

Change-Id: Ie25b2ab4284d47abdd5db23676d05b6d547b2a73
This commit is contained in:
tom hsu
2021-11-02 20:19:23 +08:00
committed by Tom Hsu
parent ae5bddc5e5
commit e53d70babc

View File

@@ -233,7 +233,8 @@
<activity android:name=".network.telephony.MobileNetworkActivity" <activity android:name=".network.telephony.MobileNetworkActivity"
android:label="@string/network_settings_title" android:label="@string/network_settings_title"
android:exported="true" android:exported="true"
android:launchMode="singleTask"> android:launchMode="singleTask"
android:configChanges="orientation|screenSize|keyboardHidden">
<intent-filter android:priority="1"> <intent-filter android:priority="1">
<!-- Displays the MobileNetworkActivity and opt-in dialog for capability discovery. --> <!-- Displays the MobileNetworkActivity and opt-in dialog for capability discovery. -->
<action android:name="android.telephony.ims.action.SHOW_CAPABILITY_DISCOVERY_OPT_IN" /> <action android:name="android.telephony.ims.action.SHOW_CAPABILITY_DISCOVERY_OPT_IN" />