summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEsteban Talavera <etalavera@google.com>2017-03-28 10:47:14 +0100
committerEsteban Talavera <etalavera@google.com>2017-03-28 11:19:55 +0100
commit32575fa7a506bf05edb20a37e59d42af981a0a13 (patch)
tree2c387c9c04384b59c98e278adbfd0f44afcc88fa /tests
parent7d530027468fcb1eaf7e212841164779e8ab2db9 (diff)
Fix broken build
Bug: 36510794 Test: m -j && frameworks/opt/net/wifi/tests/wifitests/runtests.sh (only to check the compilation part) Change-Id: If7a1d6d849f7993ea381ad2266380f05f65fb7c0
Diffstat (limited to 'tests')
-rw-r--r--tests/wifitests/src/com/android/server/wifi/SupplicantStaIfaceHalTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/wifitests/src/com/android/server/wifi/SupplicantStaIfaceHalTest.java b/tests/wifitests/src/com/android/server/wifi/SupplicantStaIfaceHalTest.java
index f2cb90e63..d747c113b 100644
--- a/tests/wifitests/src/com/android/server/wifi/SupplicantStaIfaceHalTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/SupplicantStaIfaceHalTest.java
@@ -512,7 +512,7 @@ public class SupplicantStaIfaceHalTest {
.when(mSupplicantStaNetworkMock).saveWifiConfiguration(
any(WifiConfiguration.class));
- assertFalse(mDut.connectToNetwork(new WifiConfiguration(), false));
+ assertFalse(mDut.connectToNetwork(new WifiConfiguration()));
// We should have removed the existing network once before connection and once more
// on failure to save network configuration.
verify(mISupplicantStaIfaceMock, times(2)).removeNetwork(anyInt());