Change log tag used in IpClientLinkObserver.
"NetlinkTracker" is still used in IpClientLinkObserver class as tag,
which is legacy tag and NetlinkTracker class in f/b also uses it for
logging, to better differentiate the netlink events log in dumpsys,
use a different log tag in IpClientLinkObserver.
Bug: 163492391
Test: m
Change-Id: Ieed4a45b2bcc3933e491f3afebc055b469c4da64
diff --git a/src/android/net/ip/IpClient.java b/src/android/net/ip/IpClient.java
index a0f4c87..c36bbb2 100644
--- a/src/android/net/ip/IpClient.java
+++ b/src/android/net/ip/IpClient.java
@@ -458,7 +458,7 @@
private static final int CMD_START = 3;
private static final int CMD_CONFIRM = 4;
private static final int EVENT_PRE_DHCP_ACTION_COMPLETE = 5;
- // Triggered by NetlinkTracker to communicate netlink events.
+ // Triggered by IpClientLinkObserver to communicate netlink events.
private static final int EVENT_NETLINK_LINKPROPERTIES_CHANGED = 6;
private static final int CMD_UPDATE_TCP_BUFFER_SIZES = 7;
private static final int CMD_UPDATE_HTTP_PROXY = 8;
diff --git a/src/android/net/ip/IpClientLinkObserver.java b/src/android/net/ip/IpClientLinkObserver.java
index c8edd0a..126ab21 100644
--- a/src/android/net/ip/IpClientLinkObserver.java
+++ b/src/android/net/ip/IpClientLinkObserver.java
@@ -177,7 +177,7 @@
mContext = context;
mInterfaceName = iface;
mClatInterfaceName = CLAT_PREFIX + iface;
- mTag = "NetlinkTracker/" + mInterfaceName;
+ mTag = "IpClientLinkObserver/" + mInterfaceName;
mCallback = callback;
mLinkProperties = new LinkProperties();
mLinkProperties.setInterfaceName(mInterfaceName);