Merge "Add doc to getNetworkCapabilities" am: 59d89299c9

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1690668

Change-Id: I81c764ca04e3a300272ba18faa35d9fb0ecb54b1
This commit is contained in:
Junyu Lai
2021-05-03 03:34:22 +00:00
committed by Automerger Merge Worker

View File

@@ -1561,7 +1561,7 @@ public class ConnectivityManager {
/**
* Get the {@link NetworkCapabilities} for the given {@link Network}. This
* will return {@code null} if the network is unknown.
* will return {@code null} if the network is unknown or if the |network| argument is null.
*
* This will remove any location sensitive data in {@link TransportInfo} embedded in
* {@link NetworkCapabilities#getTransportInfo()}. Some transport info instances like