commit | 95f3373745e898ec9e78ad572b6693310bde6d7d | [log] [tgz] |
---|---|---|
author | Luke Huang <huangluke@google.com> | Tue Mar 19 17:30:36 2019 +0800 |
committer | Luke Huang <huangluke@google.com> | Thu Mar 28 15:52:23 2019 +0800 |
tree | 22e31e298928e795a5873e4839ce70d0f241eb7c | |
parent | 5c626d4b6a4924da72bc7419e5b0b346aa9a1f60 [diff] |
Fix asynchronous DNS API flag NO_CACHE_LOOKUP behavior Previously, this flag won't store response into cache. Fix it to store the response into cache. If the entry is already in the cache, ignore storing. Bug: 122574655 Test: built, flashed, booted system/netd/tests/runtests.sh pass atest CtsNativeNetDnsTestCases atest DnsResolverTest Change-Id: Ia25fc0601013823c85344a3ca2a9c74e5b2a21a3