Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 579c0040 authored by Lorenzo Colitti's avatar Lorenzo Colitti
Browse files

Add debug logging to requestRouteToHostAddress.

Results in:

04-10 00:52:44.887  1511  2362 D ConnectivityService: requestRouteToHostAddress /192.0.2.3 [101 CELLULAR] ok=true

Bug: 182963397
Test: atest ConnectivityManagerLegacyTest
Change-Id: I4eeb17dd9096705d959516018aedb9173ff97023
parent a40fbcd9
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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);