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

Commit d4202f1e authored by Zijun's avatar Zijun Committed by Automerger Merge Worker
Browse files

Fix packages/modules/DnsResolver/DnsProxyListener.h for incomplete type for...

Fix packages/modules/DnsResolver/DnsProxyListener.h for incomplete type for unique_ptr am: 8a3d7b42

Original change: https://android-review.googlesource.com/c/platform/packages/modules/DnsResolver/+/3116449



Change-Id: I34b48768d672d8a8cba024ca8abf632e44b9bc62
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 9cfd3514 8a3d7b42
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -764,6 +764,8 @@ DnsProxyListener::GetAddrInfoHandler::GetAddrInfoHandler(SocketClient* c, std::s
      mHints(std::move(hints)),
      mNetContext(netcontext) {}

DnsProxyListener::GetAddrInfoHandler::~GetAddrInfoHandler() = default;

// Before U, the Netd callback is implemented by OEM to evaluate if a DNS query for the provided
// hostname is allowed. On U+, the Netd callback also checks if the user is allowed to send DNS on
// the specified network.
+1 −1
Original line number Diff line number Diff line
@@ -67,7 +67,7 @@ class DnsProxyListener : public FrameworkListener {
        // Note: All of host, service, and hints may be NULL
        GetAddrInfoHandler(SocketClient* c, std::string host, std::string service,
                           std::unique_ptr<addrinfo> hints, const android_net_context& netcontext);
        ~GetAddrInfoHandler() override = default;
        ~GetAddrInfoHandler() override;

        void run() override;
        std::string threadName() override;