diff options
| author | Junyu Lai <junyulai@google.com> | 2021-01-29 17:15:28 +0000 |
|---|---|---|
| committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2021-01-29 17:15:28 +0000 |
| commit | 6194d765d205e8062ba719ff4f7fc129ec94f183 (patch) | |
| tree | 3fc66b776fae3ba0a73bf4972a013384a8deacd4 /core/java/android | |
| parent | c63817d8f0c9afcc064740d84f7fbb87f2beade7 (diff) | |
| parent | 0ee85f3bf8459dbe686bc3b26882c99123edf3ae (diff) | |
Merge "[FUI16] Expose setSubscriberId in NetworkAgentConfig as system API"
Diffstat (limited to 'core/java/android')
| -rw-r--r-- | core/java/android/net/NetworkAgentConfig.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/java/android/net/NetworkAgentConfig.java b/core/java/android/net/NetworkAgentConfig.java index fe1268d79b89..664c2650ff0c 100644 --- a/core/java/android/net/NetworkAgentConfig.java +++ b/core/java/android/net/NetworkAgentConfig.java @@ -16,6 +16,8 @@ package android.net; +import static android.annotation.SystemApi.Client.MODULE_LIBRARIES; + import android.annotation.NonNull; import android.annotation.Nullable; import android.annotation.SystemApi; @@ -125,6 +127,7 @@ public final class NetworkAgentConfig implements Parcelable { * @return the subscriber ID, or null if none. * @hide */ + @SystemApi(client = MODULE_LIBRARIES) @Nullable public String getSubscriberId() { return subscriberId; @@ -275,6 +278,7 @@ public final class NetworkAgentConfig implements Parcelable { * @hide */ @NonNull + @SystemApi(client = MODULE_LIBRARIES) public Builder setSubscriberId(@Nullable String subscriberId) { mConfig.subscriberId = subscriberId; return this; |
