Log interface name and uid when filtering a blocked network.
Bug: 18707263 Change-Id: Ide9a1670a97eae787b785933de0c80750c2b5601
This commit is contained in:
parent
831fb40ae5
commit
6cb03e349b
1 changed files with 4 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue