Use expect instead of expectCallback

This use was checked in after the cleanup that changed the latter into the former

Bug: 157405399
Test: FrameworksNetTests
Change-Id: I2b27ad712ee218322209bbc6af6e8147a0a41430
This commit is contained in:
Chalard Jean
2022-11-02 14:27:21 +09:00
committed by Jean Chalard
parent 44243b9857
commit 0e184ac0dd

View File

@@ -16909,7 +16909,7 @@ public class ConnectivityServiceTest {
// Wi-Fi disconnecting (e.g., because the capability change to wifiNc2 caused it
// to stop satisfying the default request).
mCellNetworkAgent.disconnect();
mDefaultNetworkCallback.expectCallback(CallbackEntry.LOST, mCellNetworkAgent);
mDefaultNetworkCallback.expect(CallbackEntry.LOST, mCellNetworkAgent);
mDefaultNetworkCallback.expectAvailableCallbacksUnvalidated(mWiFiNetworkAgent);
}