Merge "Remove "returning Blocked NetworkInfo" logspam." into mnc-dev

This commit is contained in:
Lorenzo Colitti
2015-06-05 07:50:41 +00:00
committed by Android (Google) Code Review

View File

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