commit | b3cc853814fb238693594f3dece89f7c0aa38283 | [log] [tgz] |
---|---|---|
author | Aaron Huang <huangaaron@google.com> | Thu Apr 01 16:45:23 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Thu Apr 01 16:45:23 2021 +0000 |
tree | 4c5a8e2cc77fac4c3ba0ab8f55863945edf29edf | |
parent | cece10d4e053f074714f0cf7caf3046550a316b6 [diff] | |
parent | 9c3cfaa9b8d7809e8b403a61fd35f7a79784b5ce [diff] |
Merge "Update import class of TAG_SYSTEM_NEIGHBOR" am: 5316e1ff18 am: 9c3cfaa9b8 Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1626079 Change-Id: Ic491a32bbc6bb8173f15f491adb31a942eb7e773
diff --git a/Tethering/src/android/net/ip/RouterAdvertisementDaemon.java b/Tethering/src/android/net/ip/RouterAdvertisementDaemon.java index 7c0b7cc..afccd0a 100644 --- a/Tethering/src/android/net/ip/RouterAdvertisementDaemon.java +++ b/Tethering/src/android/net/ip/RouterAdvertisementDaemon.java
@@ -37,7 +37,7 @@ import android.util.Log; import com.android.internal.annotations.GuardedBy; -import com.android.internal.util.TrafficStatsConstants; +import com.android.net.module.util.NetworkStackConstants; import java.io.FileDescriptor; import java.io.IOException; @@ -589,7 +589,7 @@ final int send_timout_ms = 300; final int oldTag = TrafficStats.getAndSetThreadStatsTag( - TrafficStatsConstants.TAG_SYSTEM_NEIGHBOR); + NetworkStackConstants.TAG_SYSTEM_NEIGHBOR); try { mSocket = Os.socket(AF_INET6, SOCK_RAW, IPPROTO_ICMPV6); // Setting SNDTIMEO is purely for defensive purposes.