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

Commit a1d74187 authored by Luke Huang's avatar Luke Huang
Browse files

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
parent f3cc6e8a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment