Merge "Add debug logging to requestRouteToHostAddress." am: cd54a8bf4b

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1671786

Change-Id: I87f0ab1fe739359c115fce8da250a00b5fd0242b
This commit is contained in:
Lorenzo Colitti
2021-04-12 14:30:00 +00:00
committed by Automerger Merge Worker

View File

@@ -2260,7 +2260,9 @@ public class ConnectivityService extends IConnectivityManager.Stub
netId = nai.network.getNetId();
}
boolean ok = addLegacyRouteToHost(lp, addr, netId, uid);
if (DBG) log("requestRouteToHostAddress ok=" + ok);
if (DBG) {
log("requestRouteToHostAddress " + addr + nai.toShortString() + " ok=" + ok);
}
return ok;
} finally {
Binder.restoreCallingIdentity(token);