From 32575fa7a506bf05edb20a37e59d42af981a0a13 Mon Sep 17 00:00:00 2001 From: Esteban Talavera Date: Tue, 28 Mar 2017 10:47:14 +0100 Subject: 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 --- .../src/com/android/server/wifi/SupplicantStaIfaceHalTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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()); -- cgit v1.2.3