Replace connectToWifi with ensureWifiConnected
connectToWifi expects a CONNECTIVITY_ACTION broadcast, which may not be received if wifi is already connected. There is already a separate test exercising the broadcast, testToggleWifiConnectivityAction. Bug: 283272115 Change-Id: I21a358fcb119878969eb898e15fea9da1af9a108 Test: TH
Loading
Please register or sign in to comment