From 7521c2277af5a0c23cd028d15aaa59de5c0cd8fc Mon Sep 17 00:00:00 2001 From: lesl Date: Mon, 28 Dec 2020 18:15:52 +0800 Subject: [PATCH] wifi: Add systemAPi:setSubscriberId in NetworkAgentConfig The wifi (mainline module) need to set the subscriberId for specific wifi network. Bug: 176396812 Test: TreeHugger Change-Id: Ie97d3dad81c87d41a360558e91c83278595ff475 --- core/api/system-current.txt | 1 + core/java/android/net/NetworkAgentConfig.java | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/core/api/system-current.txt b/core/api/system-current.txt index b4f1395532717..a3725d3a484fb 100644 --- a/core/api/system-current.txt +++ b/core/api/system-current.txt @@ -6224,6 +6224,7 @@ package android.net { method @NonNull public android.net.NetworkAgentConfig.Builder setLegacyType(int); method @NonNull public android.net.NetworkAgentConfig.Builder setLegacyTypeName(@NonNull String); method @NonNull public android.net.NetworkAgentConfig.Builder setPartialConnectivityAcceptable(boolean); + method @NonNull public android.net.NetworkAgentConfig.Builder setSubscriberId(@Nullable String); method @NonNull public android.net.NetworkAgentConfig.Builder setUnvalidatedConnectivityAcceptable(boolean); } diff --git a/core/java/android/net/NetworkAgentConfig.java b/core/java/android/net/NetworkAgentConfig.java index fe1268d79b891..c29d23d76de24 100644 --- a/core/java/android/net/NetworkAgentConfig.java +++ b/core/java/android/net/NetworkAgentConfig.java @@ -272,7 +272,6 @@ public final class NetworkAgentConfig implements Parcelable { * Sets the subscriber ID for this network. * * @return this builder, to facilitate chaining. - * @hide */ @NonNull public Builder setSubscriberId(@Nullable String subscriberId) {