Avoid unnecessary re-creating of Wi-Fi password dialog
- The Wi-Fi password dialog will be re-created on larger devices, this behavior is unnecessary. - Modify AndroidManifest to avoid WifiDialogActivity re-creating. Bug: 259986151 Test: manual test on the device Change-Id: I394b5ff6d1e0f51c4b2aec270541ce04d6ace9a4
This commit is contained in:
@@ -3805,7 +3805,7 @@
|
||||
android:documentLaunchMode="always"
|
||||
android:exported="true"
|
||||
android:permission="android.permission.CHANGE_WIFI_STATE"
|
||||
android:configChanges="orientation|keyboardHidden|screenSize">
|
||||
android:configChanges="orientation|keyboard|keyboardHidden|screenSize|smallestScreenSize|screenLayout">
|
||||
<intent-filter>
|
||||
<action android:name="com.android.settings.WIFI_DIALOG" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
|
||||
Reference in New Issue
Block a user