diff options
author | junyulai <junyulai@google.com> | 2021-01-23 11:00:10 +0800 |
---|---|---|
committer | junyulai <junyulai@google.com> | 2021-03-03 20:01:46 +0800 |
commit | 33b44da527d014715e62ba89972781ce1548d5aa (patch) | |
tree | 44ab29c73b5d09ac3df7ef8d8925e826c996b46c /core/api/module-lib-current.txt | |
parent | a3fab46d7b4f6b4079b6e223eb6f20589d059658 (diff) |
[FUI18] Expose notifyNetworkStatus as system API
Test: m -j doc-comment-check-docs
Bug: 174123988
Merged-In: I11d4c9ab24de87fb2ad120e3787b78b73133e874
Change-Id: I11d4c9ab24de87fb2ad120e3787b78b73133e874
(cherry-picked from ag/13749978)
Diffstat (limited to 'core/api/module-lib-current.txt')
-rw-r--r-- | core/api/module-lib-current.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/api/module-lib-current.txt b/core/api/module-lib-current.txt index 24adb7d61978..3529858a0c95 100644 --- a/core/api/module-lib-current.txt +++ b/core/api/module-lib-current.txt @@ -8,6 +8,14 @@ package android.app { } +package android.app.usage { + + public class NetworkStatsManager { + method @RequiresPermission(anyOf={android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_STACK}) public void notifyNetworkStatus(@NonNull java.util.List<android.net.Network>, @NonNull java.util.List<android.net.NetworkStateSnapshot>, @Nullable String, @NonNull java.util.List<android.net.UnderlyingNetworkInfo>); + } + +} + package android.net { public static final class IpSecManager.UdpEncapsulationSocket implements java.lang.AutoCloseable { |