From 0d05151b5cc8a5b4e0029a816cca129ef85533e5 Mon Sep 17 00:00:00 2001 From: Chalard Jean Date: Tue, 28 Sep 2021 15:31:15 +0900 Subject: [PATCH] Small doc improvement Test: comment-only change Bug: 191744296 Change-Id: I80447783c9fd89f3b6685a4276cc555a7075a70f --- framework/src/android/net/ConnectivityManager.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/framework/src/android/net/ConnectivityManager.java b/framework/src/android/net/ConnectivityManager.java index 7294ec950a..a35fc9c562 100644 --- a/framework/src/android/net/ConnectivityManager.java +++ b/framework/src/android/net/ConnectivityManager.java @@ -1163,10 +1163,11 @@ public class ConnectivityManager { * default data network. In the event that the current active default data * network disconnects, the returned {@code Network} object will no longer * be usable. This will return {@code null} when there is no default - * network. + * network, or when the default network is blocked. * * @return a {@link Network} object for the current default network or - * {@code null} if no default network is currently active + * {@code null} if no default network is currently active or if + * the default network is blocked for the caller */ @RequiresPermission(android.Manifest.permission.ACCESS_NETWORK_STATE) @Nullable