Rename WifiConfiguration.getHasEverConnected()

Renamed to hasEverConnected() to conform to API
guidelines.

Bug: 146046526
Test: make RunSettingsRoboTests -j40
Change-Id: Ie88945326977ea11a05721e40a81c338fee61cb6
This commit is contained in:
David Su
2020-01-30 17:52:12 -08:00
parent 8ad24a25ad
commit fa6e9f7283
3 changed files with 3 additions and 4 deletions

View File

@@ -100,7 +100,7 @@ public class ConnectToWifiHandlerTest {
when(mAccessPoint.isSaved()).thenReturn(true);
when(mAccessPoint.getSecurity()).thenReturn(AccessPoint.SECURITY_PSK);
final NetworkSelectionStatus status = mock(NetworkSelectionStatus.class);
when(status.getHasEverConnected()).thenReturn(true);
when(status.hasEverConnected()).thenReturn(true);
when(mWifiConfig.getNetworkSelectionStatus()).thenReturn(status);
mHandler.connect(mContext, mAccessPoint);