Merge "Fix the consistency of connection status displayed on Wi-Fi card"

This commit is contained in:
TreeHugger Robot
2019-01-24 12:38:32 +00:00
committed by Android (Google) Code Review
4 changed files with 19 additions and 17 deletions

View File

@@ -139,4 +139,11 @@ public class WifiSliceTest {
verify(mResolver).notifyChange(WIFI_SLICE_URI, null);
}
@Test
public void onConnectedChanged_shouldNotifyChange() {
mWifiScanWorker.onConnectedChanged();
verify(mResolver).notifyChange(WIFI_SLICE_URI, null);
}
}