Hide saved network preference when there is none.

We already do this when wifi is enabled. This change brings same
behavior when wifi is off.

Change-Id: I44301fe46a6183735f8be71c80cfe719ad0e82b4
Fix: 62094681
Test: runtest --path tests/unit/src/com/android/settings/wifi/WifiSettingsUiTest.java
This commit is contained in:
Fan Zhang
2017-06-01 12:23:11 -07:00
parent 9ccd8ab619
commit 015c7706e4
2 changed files with 47 additions and 31 deletions

View File

@@ -697,6 +697,7 @@ public class WifiSettings extends RestrictedSettingsFragment
case WifiManager.WIFI_STATE_DISABLED:
setOffMessage();
setAdditionalSettingsSummaries();
setProgressBarVisible(false);
break;
}