Merge "Log interface name and uid when filtering a blocked network." into lmp-mr1-dev automerge: 8640c5d automerge: 4f36150

automerge: 0a30fd7

* commit '0a30fd758aae14a64f6bf31e826698dd57115351':
  Log interface name and uid when filtering a blocked network.
This commit is contained in:
Erik Kline
2015-01-22 07:22:19 +00:00
committed by android-build-merger

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