diff options
| author | Lorenzo Colitti <lorenzo@google.com> | 2021-03-11 03:31:49 +0000 |
|---|---|---|
| committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2021-03-11 03:31:49 +0000 |
| commit | f0f69b46e2633ae4c8a9869567b5a4f04ef37e30 (patch) | |
| tree | 2b8f7c49e6665be819625d347c5cd713dfff740b /tests/net/java/com/android/server/ConnectivityServiceTest.java | |
| parent | d14c779c660a7649aa553d6afa4e3841d2b932ed (diff) | |
| parent | e93309bff78b8098bb16a9a2c60a070e4f8dfd22 (diff) | |
Merge "Set extraInfo on cellular TestNetworkAgents."
Diffstat (limited to 'tests/net/java/com/android/server/ConnectivityServiceTest.java')
| -rw-r--r-- | tests/net/java/com/android/server/ConnectivityServiceTest.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/net/java/com/android/server/ConnectivityServiceTest.java b/tests/net/java/com/android/server/ConnectivityServiceTest.java index dfebb281c6ea..3b1c09e77aca 100644 --- a/tests/net/java/com/android/server/ConnectivityServiceTest.java +++ b/tests/net/java/com/android/server/ConnectivityServiceTest.java @@ -718,7 +718,7 @@ public class ConnectivityServiceTest { @Override protected InstrumentedNetworkAgent makeNetworkAgent(LinkProperties linkProperties, - final int type, final String typeName) throws Exception { + NetworkAgentConfig nac) throws Exception { mNetworkMonitor = mock(INetworkMonitor.class); final Answer validateAnswer = inv -> { @@ -737,8 +737,8 @@ public class ConnectivityServiceTest { any() /* name */, nmCbCaptor.capture()); - final InstrumentedNetworkAgent na = new InstrumentedNetworkAgent(this, linkProperties, - type, typeName) { + final InstrumentedNetworkAgent na = + new InstrumentedNetworkAgent(this, linkProperties, nac) { @Override public void networkStatus(int status, String redirectUrl) { mRedirectUrl = redirectUrl; |
