diff options
author | Remi NGUYEN VAN <reminv@google.com> | 2020-09-24 18:31:55 +0900 |
---|---|---|
committer | Remi NGUYEN VAN <reminv@google.com> | 2020-10-05 14:38:19 +0900 |
commit | 638797415825d9e0afb4f0a499f121ea6a318188 (patch) | |
tree | 0f25f8c7fa18e310219e88890486dd4eda6f6c74 /services/net | |
parent | 1f125fcd66e13c8c4f9642425902c9d54970dcd2 (diff) |
Move IpUtils to frameworks/libs/net
The utility classes are useful for mainline modules and their tests, for
example IpClientIntegrationTest.
Bug: 168868607
Test: m && atest NetworkStaticLibTests
Change-Id: If2b1613aa18a7990391e2d31cc2951ca93f1cf3c
Diffstat (limited to 'services/net')
-rw-r--r-- | services/net/java/android/net/TcpKeepalivePacketData.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/services/net/java/android/net/TcpKeepalivePacketData.java b/services/net/java/android/net/TcpKeepalivePacketData.java index c0c386b3046e..4875c7cc4263 100644 --- a/services/net/java/android/net/TcpKeepalivePacketData.java +++ b/services/net/java/android/net/TcpKeepalivePacketData.java @@ -19,11 +19,12 @@ import static android.net.SocketKeepalive.ERROR_INVALID_IP_ADDRESS; import android.annotation.NonNull; import android.annotation.Nullable; -import android.net.util.IpUtils; import android.os.Parcel; import android.os.Parcelable; import android.system.OsConstants; +import com.android.net.module.util.IpUtils; + import java.net.InetAddress; import java.net.UnknownHostException; import java.nio.ByteBuffer; |