summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2018-05-18 17:37:08 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2018-05-18 17:37:08 +0000
commite93744bec9cb63b00b4597d49a20378749634358 (patch)
tree02bec7790f15887e762a5f4f4d45d6bbc762c6d8 /tests
parentd94eb7a0e5d182f9dce6ff04bb0329dedd879327 (diff)
parentddaa720025e435d3c21aa200c00c8da64c95e289 (diff)
Merge "WifiVendorHal: Make HAL state change callback synchronous" into pi-dev
Diffstat (limited to 'tests')
-rw-r--r--tests/wifitests/src/com/android/server/wifi/WifiVendorHalTest.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/wifitests/src/com/android/server/wifi/WifiVendorHalTest.java b/tests/wifitests/src/com/android/server/wifi/WifiVendorHalTest.java
index f7a3c4be6..0f8f56f66 100644
--- a/tests/wifitests/src/com/android/server/wifi/WifiVendorHalTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/WifiVendorHalTest.java
@@ -87,7 +87,6 @@ import android.net.wifi.WifiManager;
import android.net.wifi.WifiScanner;
import android.net.wifi.WifiSsid;
import android.net.wifi.WifiWakeReasonAndCounts;
-import android.os.Handler;
import android.os.Looper;
import android.os.RemoteException;
import android.os.test.TestLooper;
@@ -300,8 +299,7 @@ public class WifiVendorHalTest {
mWifiVendorHal.initialize(mVendorHalDeathHandler);
ArgumentCaptor<WifiVendorHal.HalDeviceManagerStatusListener> hdmCallbackCaptor =
ArgumentCaptor.forClass(WifiVendorHal.HalDeviceManagerStatusListener.class);
- verify(mHalDeviceManager).registerStatusListener(hdmCallbackCaptor.capture(),
- any(Handler.class));
+ verify(mHalDeviceManager).registerStatusListener(hdmCallbackCaptor.capture(), eq(null));
mHalDeviceManagerStatusCallbacks = hdmCallbackCaptor.getValue();
}