summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorXiao Ma <xiaom@google.com>2021-12-21 07:35:11 +0000
committerXiao Ma <xiaom@google.com>2021-12-21 08:06:07 +0000
commitf7d61d1b9cd6863ae8504d311ca9f29271c2f026 (patch)
treec6610e4f14250cf0779c85c362f6e5d427042926 /java
parent7fab67361424c4f2586bf51d741cc99e4b53e7a2 (diff)
downloadethernet-f7d61d1b9cd6863ae8504d311ca9f29271c2f026.tar.gz
Import InterfaceParams class from f/libs/net/common.
Ethernet service related files are going to be moved into Connectivity mainline module. Import InterfaceParams class in EthernetNetworkFactory from f/libs/net/common, which is visible to Connectivity module. Bug: 210586283 Test: atest EthernetServiceTests Change-Id: I98ebb04cc3c2b685464e7f2689424794957088b3
Diffstat (limited to 'java')
-rw-r--r--java/com/android/server/ethernet/EthernetNetworkFactory.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/com/android/server/ethernet/EthernetNetworkFactory.java b/java/com/android/server/ethernet/EthernetNetworkFactory.java
index 2886cf1..fc26a6c 100644
--- a/java/com/android/server/ethernet/EthernetNetworkFactory.java
+++ b/java/com/android/server/ethernet/EthernetNetworkFactory.java
@@ -37,7 +37,6 @@ import android.net.ip.IIpClient;
import android.net.ip.IpClientCallbacks;
import android.net.ip.IpClientUtil;
import android.net.shared.ProvisioningConfiguration;
-import android.net.util.InterfaceParams;
import android.os.ConditionVariable;
import android.os.Handler;
import android.os.Looper;
@@ -49,6 +48,7 @@ import android.util.SparseArray;
import com.android.internal.annotations.VisibleForTesting;
import com.android.internal.util.IndentingPrintWriter;
+import com.android.net.module.util.InterfaceParams;
import java.io.FileDescriptor;
import java.util.Objects;