Log interface name and uid when filtering a blocked network.
Bug: 18707263 Change-Id: Ide9a1670a97eae787b785933de0c80750c2b5601
This commit is contained in:
@@ -907,7 +907,10 @@ 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) log("returning Blocked NetworkInfo");
|
if (DBG) {
|
||||||
|
log("returning Blocked NetworkInfo for ifname=" +
|
||||||
|
lp.getInterfaceName() + ", uid=" + uid);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (info != null && mLockdownTracker != null) {
|
if (info != null && mLockdownTracker != null) {
|
||||||
info = mLockdownTracker.augmentNetworkInfo(info);
|
info = mLockdownTracker.augmentNetworkInfo(info);
|
||||||
|
|||||||
Reference in New Issue
Block a user