| commit | da0f0d11583ce2ecc9d162be557174542f1e64f1 | [log] [tgz] |
|---|---|---|
| author | Jimmy Chen <jimmycmchen@google.com> | Thu Mar 18 17:42:17 2021 +0800 |
| committer | Jimmy Chen <jimmycmchen@google.com> | Mon Mar 22 15:45:31 2021 +0800 |
| tree | 10040f6fe094c0b417748ba8dd49e2f5607ae525 | |
| parent | ba5399e557ff75fe7d7f27177380e423e1f25b3d [diff] |
wfd: update cts for API changes Bug: 182979767 Test: atest CtsWifiTestCases Change-Id: I831d98843909701da13faa571d152b293b368757
diff --git a/tests/tests/wifi/src/android/net/wifi/p2p/cts/WifiP2pWfdInfoTest.java b/tests/tests/wifi/src/android/net/wifi/p2p/cts/WifiP2pWfdInfoTest.java index 24ed2cc..5ccc13d 100644 --- a/tests/tests/wifi/src/android/net/wifi/p2p/cts/WifiP2pWfdInfoTest.java +++ b/tests/tests/wifi/src/android/net/wifi/p2p/cts/WifiP2pWfdInfoTest.java
@@ -92,8 +92,8 @@ assumeTrue(BuildCompat.isAtLeastS()); WifiP2pWfdInfo info = new WifiP2pWfdInfo(); - info.setWfdR2Device(WifiP2pWfdInfo.DEVICE_TYPE_WFD_SOURCE); + info.setR2DeviceType(WifiP2pWfdInfo.DEVICE_TYPE_WFD_SOURCE); assertEquals(WifiP2pWfdInfo.DEVICE_TYPE_WFD_SOURCE, info.getR2DeviceType()); - assertTrue(info.isR2Enabled()); + assertTrue(info.isR2Supported()); } }