summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Huang <huangluke@google.com>2020-06-20 13:01:33 +0800
committerLuke Huang <huangluke@google.com>2020-09-07 09:59:15 +0000
commit9ebf233e8d1c6a6be6e75c71c5be0a3531008b94 (patch)
treee292e15de0e624d9ec4411ab6ff012d2894c3293
parent8d49c3fbae160936ac44a1213e53e6cf617ee867 (diff)
downloadnative-9ebf233e8d1c6a6be6e75c71c5be0a3531008b94.tar.gz
Backport: Update the documentation of ANDROID_RESOLV_NO_CACHE_STORE
Make it up-to-date. Test: N/A Bug: 150371903 Change-Id: Ia1402a18d6d466ffbb0357127d7d45cf6c722550 (cherry picked from commit f1cf6a632da354cff3d8aed54913e1ee2909908e)
-rw-r--r--include/android/multinetwork.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/android/multinetwork.h b/include/android/multinetwork.h
index d31d1f122f..f7294a9ea5 100644
--- a/include/android/multinetwork.h
+++ b/include/android/multinetwork.h
@@ -123,8 +123,8 @@ enum ResNsendFlags : uint32_t {
ANDROID_RESOLV_NO_RETRY = 1 << 0,
/**
- * Do not cache the result of the lookup. The lookup may return a result that is already
- * in the cache, unless the ANDROID_RESOLV_NO_CACHE_LOOKUP flag is also specified.
+ * Don't lookup this request in the cache, and don't cache the result of the lookup.
+ * This flag implies {@link #ANDROID_RESOLV_NO_CACHE_LOOKUP}.
*/
ANDROID_RESOLV_NO_CACHE_STORE = 1 << 1,