Skip to content
Snippets Groups Projects
Commit cba8b949 authored by Junyu Lai's avatar Junyu Lai Committed by Android (Google) Code Review
Browse files

Merge "Disable log for per uid blocked status changed event" into rvc-dev

parents 14756a8c bf55f0e0
No related branches found
No related tags found
No related merge requests found
......@@ -1374,10 +1374,9 @@ public class ConnectivityService extends IConnectivityManager.Stub
if (nri == null || net == null || !LOGD_BLOCKED_NETWORKINFO) {
return;
}
String action = blocked ? "BLOCKED" : "UNBLOCKED";
log(String.format("Blocked status changed to %s for %d(%d) on netId %d", blocked,
nri.mUid, nri.request.requestId, net.netId));
mNetworkInfoBlockingLogs.log(action + " " + nri.mUid);
final String action = blocked ? "BLOCKED" : "UNBLOCKED";
mNetworkInfoBlockingLogs.log(String.format(
"%s %d(%d) on netId %d", action, nri.mUid, nri.request.requestId, net.netId));
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment