Merge "Rename WifiConfiguration.getHasEverConnected()"

This commit is contained in:
David Su
2020-02-03 21:12:03 +00:00
committed by Android (Google) Code Review
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);