summaryrefslogtreecommitdiff
path: root/core/api
diff options
context:
space:
mode:
authorpaulhu <paulhu@google.com>2021-03-11 00:14:45 +0800
committerPaul Hu <paulhu@google.com>2021-03-12 05:21:08 +0000
commit97c860113aa6ea84db6d591f323bce7284f88570 (patch)
tree2ee9ff1afb00f3aa1c4cf9b56103d9ffe9c5c7a0 /core/api
parent4d832266632e22a8c5c006cd9616201011ff9729 (diff)
Expose Intent#ACTION_CLEAR_DNS_CACHE
DnsManager will broadcast ACTION_CLEAR_DNS_CACHE intent to clear dns cache when network have changed. But DnsManager is in the Connectivity mainline module which can not use non-formal API. Thus, expose Intent#ACTION_CLEAR_DNS_CACHE as module lib API for mainline module. Bug: 182370679 Test: m update-api Merged-In: I30b1b146dcae82926be7bdb8b343635a01eabefe Change-Id: I30b1b146dcae82926be7bdb8b343635a01eabefe
Diffstat (limited to 'core/api')
-rw-r--r--core/api/module-lib-current.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/api/module-lib-current.txt b/core/api/module-lib-current.txt
index 3529858a0c95..97baa988cb6c 100644
--- a/core/api/module-lib-current.txt
+++ b/core/api/module-lib-current.txt
@@ -16,6 +16,14 @@ package android.app.usage {
}
+package android.content {
+
+ public class Intent implements java.lang.Cloneable android.os.Parcelable {
+ field public static final String ACTION_CLEAR_DNS_CACHE = "android.intent.action.CLEAR_DNS_CACHE";
+ }
+
+}
+
package android.net {
public static final class IpSecManager.UdpEncapsulationSocket implements java.lang.AutoCloseable {