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

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

Change-Id: Idfab2681aa129b9e2a699c0c89e2d0fcf36e0c73
This commit is contained in:
Lorenzo Colitti
2021-04-12 14:48:24 +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);