Merge "Disable log for per uid blocked status changed event"
This commit is contained in:
@@ -1374,10 +1374,9 @@ public class ConnectivityService extends IConnectivityManager.Stub
|
|||||||
if (nri == null || net == null || !LOGD_BLOCKED_NETWORKINFO) {
|
if (nri == null || net == null || !LOGD_BLOCKED_NETWORKINFO) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
String action = blocked ? "BLOCKED" : "UNBLOCKED";
|
final String action = blocked ? "BLOCKED" : "UNBLOCKED";
|
||||||
log(String.format("Blocked status changed to %s for %d(%d) on netId %d", blocked,
|
mNetworkInfoBlockingLogs.log(String.format(
|
||||||
nri.mUid, nri.request.requestId, net.netId));
|
"%s %d(%d) on netId %d", action, nri.mUid, nri.request.requestId, net.netId));
|
||||||
mNetworkInfoBlockingLogs.log(action + " " + nri.mUid);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user