Fixes password not being saved on orientation changed.
We are now using the same configuration as WifiSettingsActivity,
which also uses the same configChanges parameters. This keeps the
Setup Wizard instantiation of WifiDialog and the settings instantiation
closer together.
bug:26220180
Change-Id: I05e692d6cb81d3765a3de4ccd6c074deffada72e
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index a606216..876600e 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -2568,7 +2568,8 @@
android:theme="@style/Transparent"
android:excludeFromRecents="true"
android:exported="true"
- android:permission="android.permission.CHANGE_WIFI_STATE">
+ android:permission="android.permission.CHANGE_WIFI_STATE"
+ android:configChanges="orientation|keyboardHidden|screenSize">
<intent-filter>
<action android:name="com.android.settings.WIFI_DIALOG" />
<category android:name="android.intent.category.DEFAULT" />