summaryrefslogtreecommitdiff
path: root/core/api/module-lib-current.txt
diff options
context:
space:
mode:
authorjunyulai <junyulai@google.com>2021-01-11 18:09:56 +0800
committerjunyulai <junyulai@google.com>2021-01-18 16:32:08 +0800
commitd4d56da59519db3e09403bf8f34bbbca191062fe (patch)
tree6267bedeb569af3b1b49643fc7dd055482489291 /core/api/module-lib-current.txt
parentb0210d9f8f5d25a44887524f2a8276b69cc1485d (diff)
[VCN06] Support request background network
This will be mainly used by VCN management service which will need to hold the networks but preserve the backgrounded-ness of the networks. Test: android.net.ConnectivityManagerTest#testRequestType Test: android.net.cts.ConnectivityManagerTest#testRequestBackgroundNetwork / --rerun-until-failure 100 Test: ConnectivityServiceTest#testBackgroundNetworks Test: m -j doc-comment-check-docs Bug: 175662146 Change-Id: If9aaa87b7e71c2b695ac7b08858850e975b28bb6
Diffstat (limited to 'core/api/module-lib-current.txt')
-rw-r--r--core/api/module-lib-current.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/api/module-lib-current.txt b/core/api/module-lib-current.txt
index 9349770ee4fd..6d05e5d6b4c2 100644
--- a/core/api/module-lib-current.txt
+++ b/core/api/module-lib-current.txt
@@ -10,6 +10,10 @@ package android.app {
package android.net {
+ public class ConnectivityManager {
+ method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_STACK, android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK}) public void requestBackgroundNetwork(@NonNull android.net.NetworkRequest, @Nullable android.os.Handler, @NonNull android.net.ConnectivityManager.NetworkCallback);
+ }
+
public final class TcpRepairWindow {
ctor public TcpRepairWindow(int, int, int, int, int, int);
field public final int maxWindow;