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
This commit is contained in:
Udam Saini
2015-12-21 10:52:34 -08:00
parent 63196c5f82
commit 0ec68624f7

View File

@@ -2568,7 +2568,8 @@
android:theme="@style/Transparent" android:theme="@style/Transparent"
android:excludeFromRecents="true" android:excludeFromRecents="true"
android:exported="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> <intent-filter>
<action android:name="com.android.settings.WIFI_DIALOG" /> <action android:name="com.android.settings.WIFI_DIALOG" />
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT" />