summaryrefslogtreecommitdiff
path: root/core/api/module-lib-current.txt
diff options
context:
space:
mode:
authorjunyulai <junyulai@google.com>2021-01-22 16:43:01 +0800
committerjunyulai <junyulai@google.com>2021-01-29 22:09:10 +0800
commit0ee85f3bf8459dbe686bc3b26882c99123edf3ae (patch)
tree71751c943e719c6f4e830888aad57cb2cb8d753c /core/api/module-lib-current.txt
parent37356f4149e9e2623e277a464af552272b459723 (diff)
[FUI16] Expose setSubscriberId in NetworkAgentConfig as system API
The wifi (mainline module) need to set the subscriberId for specific wifi network. Bug: 176396812 Test: TreeHugger Change-Id: Ib568ce0c2d1b629e1c20e7ac8d8b78579cf4825c
Diffstat (limited to 'core/api/module-lib-current.txt')
-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 061d4ccbc473..0ec1e092368c 100644
--- a/core/api/module-lib-current.txt
+++ b/core/api/module-lib-current.txt
@@ -18,6 +18,14 @@ package android.net {
method public int getResourceId();
}
+ public final class NetworkAgentConfig implements android.os.Parcelable {
+ method @Nullable public String getSubscriberId();
+ }
+
+ public static final class NetworkAgentConfig.Builder {
+ method @NonNull public android.net.NetworkAgentConfig.Builder setSubscriberId(@Nullable String);
+ }
+
public final class NetworkCapabilities implements android.os.Parcelable {
field public static final int TRANSPORT_TEST = 7; // 0x7
}