Log interface name and uid when filtering a blocked network.

Bug: 18707263
Change-Id: Ide9a1670a97eae787b785933de0c80750c2b5601
This commit is contained in:
Erik Kline
2015-01-19 16:19:09 +09:00
parent 831fb40ae5
commit 6cb03e349b

View File

@@ -907,7 +907,10 @@ public class ConnectivityService extends IConnectivityManager.Stub
// network is blocked; clone and override state
info = new NetworkInfo(info);
info.setDetailedState(DetailedState.BLOCKED, null, null);
if (DBG) log("returning Blocked NetworkInfo");
if (DBG) {
log("returning Blocked NetworkInfo for ifname=" +
lp.getInterfaceName() + ", uid=" + uid);
}
}
if (info != null && mLockdownTracker != null) {
info = mLockdownTracker.augmentNetworkInfo(info);