Disable log for per uid blocked status changed event
This consumes ~3.5% system logs, however it is not very useful
when debugging since similar information could be obtained from
dumpsys {connectivity|netpolicy}. Thus, remove the log.
Test: manual
Bug: 135504481
Change-Id: I04d2b7402f892546722fe6868c521afd9534f183
Merged-In: I04d2b7402f892546722fe6868c521afd9534f183
(cherry picked from commit 21a352f761ce558bea6fa9ab2a4e49a164228b56)
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user