diff options
author | Remi NGUYEN VAN <reminv@google.com> | 2019-02-15 03:11:31 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2019-02-15 03:11:31 +0000 |
commit | e4b4e17f29a47231d574afbce3b25f9177a924bb (patch) | |
tree | 6ffb259d34e535ee4c860576bdc05a2214ee08e8 /tests/src/android/net/ip/IpClientTest.java | |
parent | d5e53b0466b6764e0192a738e152d9743d6f767f (diff) | |
parent | 235c455c81faca07b049de10545296433332b782 (diff) |
Merge "Remove deps from framework on netd interfaces"
Diffstat (limited to 'tests/src/android/net/ip/IpClientTest.java')
-rw-r--r-- | tests/src/android/net/ip/IpClientTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/android/net/ip/IpClientTest.java b/tests/src/android/net/ip/IpClientTest.java index 7e57d1e..aaaff02 100644 --- a/tests/src/android/net/ip/IpClientTest.java +++ b/tests/src/android/net/ip/IpClientTest.java @@ -104,8 +104,8 @@ public class IpClientTest { when(mContext.getSystemService(eq(Context.ALARM_SERVICE))).thenReturn(mAlarm); when(mContext.getSystemService(eq(ConnectivityManager.class))).thenReturn(mCm); - when(mContext.getSystemService(INetd.class)).thenReturn(mNetd); when(mContext.getResources()).thenReturn(mResources); + when(mDependencies.getNetd(any())).thenReturn(mNetd); when(mResources.getInteger(R.integer.config_networkAvoidBadWifi)) .thenReturn(DEFAULT_AVOIDBADWIFI_CONFIG_VALUE); |