am 2678d5bc: cherry pick from aosp. https://android-review.googlesource.com/63805
* commit '2678d5bcf77cd494967c1e4183168f7ea88c72bb': cherry pick from aosp. https://android-review.googlesource.com/63805
This commit is contained in:
@@ -407,6 +407,10 @@ public class WifiManagerTest extends AndroidTestCase {
|
|||||||
* To pass this CTS test, a connected WiFi link is required.
|
* To pass this CTS test, a connected WiFi link is required.
|
||||||
*/
|
*/
|
||||||
public void testWifiWatchdog() throws Exception {
|
public void testWifiWatchdog() throws Exception {
|
||||||
|
if (!WifiFeature.isWifiSupported(getContext())) {
|
||||||
|
// skip the test if WiFi is not supported
|
||||||
|
return;
|
||||||
|
}
|
||||||
// Make sure WiFi is enabled
|
// Make sure WiFi is enabled
|
||||||
if (!mWifiManager.isWifiEnabled()) {
|
if (!mWifiManager.isWifiEnabled()) {
|
||||||
setWifiEnabled(true);
|
setWifiEnabled(true);
|
||||||
|
|||||||
Reference in New Issue
Block a user