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

Commit 6b5c6347 authored by Michal Karpinski's avatar Michal Karpinski Committed by android-build-merger
Browse files

Extending DNS event reporting am: f82d1596 am: 3156b53f

am: c1ca63e8

Change-Id: I5c3a43d9835900e849da6db2a895c0131f19d538
parents 38822739 c1ca63e8
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -134,7 +134,9 @@ public class NetdEventListenerService extends INetdEventListener.Stub {

    @Override
    // Called concurrently by multiple binder threads.
    public synchronized void onDnsEvent(int netId, int eventType, int returnCode, int latencyMs) {
    // This method must not block or perform long-running operations.
    public synchronized void onDnsEvent(int netId, int eventType, int returnCode, int latencyMs,
            String hostname, String[] ipAddresses, int ipAddressesCount, int uid) {
        maybeVerboseLog(String.format("onDnsEvent(%d, %d, %d, %d)",
                netId, eventType, returnCode, latencyMs));