summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEsteban Talavera <etalavera@google.com>2017-03-28 10:47:14 +0100
committerRoshan Pius <rpius@google.com>2017-03-28 10:10:44 -0700
commitf139f833426aec5258c80fa582ca7007c079c0a2 (patch)
treee68e5ba10bd2b09d981c330da049871862277812
parentf2e03411f137f55940a8f3592e96a272585bd7dd (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 Merged-In: If7a1d6d849f7993ea381ad2266380f05f65fb7c0
-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());