Merge "Add debug logging to requestRouteToHostAddress." am: f6f74d517f am: f37ac683f9 am: 4752f8438a

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

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

View File

@@ -2279,7 +2279,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);