Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c657bdf2 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "Resolve ambiguous argument." am: 486a8664 am: 00df02f1 am: 12e651f3 am: 76a9b6e0

Change-Id: Ie1a1617b41bc15b04f573fd0c12da674aee494bd
parents 0bb61086 76a9b6e0
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -3723,7 +3723,7 @@ public class ConnectivityServiceTest {
        mCm.requestNetwork(nr, networkCallback, timeoutMs);
        mCm.requestNetwork(nr, networkCallback, timeoutMs);


        // pass timeout and validate that UNAVAILABLE is called
        // pass timeout and validate that UNAVAILABLE is called
        networkCallback.expectCallback(CallbackEntry.UNAVAILABLE, null);
        networkCallback.expectCallback(CallbackEntry.UNAVAILABLE, (Network) null);


        // create a network satisfying request - validate that request not triggered
        // create a network satisfying request - validate that request not triggered
        mWiFiNetworkAgent = new TestNetworkAgentWrapper(TRANSPORT_WIFI);
        mWiFiNetworkAgent = new TestNetworkAgentWrapper(TRANSPORT_WIFI);
@@ -3814,7 +3814,7 @@ public class ConnectivityServiceTest {
            // Simulate the factory releasing the request as unfulfillable and expect onUnavailable!
            // Simulate the factory releasing the request as unfulfillable and expect onUnavailable!
            testFactory.triggerUnfulfillable(requests.get(newRequestId));
            testFactory.triggerUnfulfillable(requests.get(newRequestId));


            networkCallback.expectCallback(CallbackEntry.UNAVAILABLE, null);
            networkCallback.expectCallback(CallbackEntry.UNAVAILABLE, (Network) null);
            testFactory.waitForRequests();
            testFactory.waitForRequests();


            // unregister network callback - a no-op (since already freed by the
            // unregister network callback - a no-op (since already freed by the