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

* commit 'a34af2c0d7bbce6469b0c6ab578f6e2c9cd38cfb':
  Remove "returning Blocked NetworkInfo" logspam.
This commit is contained in:
Lorenzo Colitti
2015-06-05 08:02:24 +00:00
committed by Android Git Automerger

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;
} }