Merge "Add doc to getNetworkCapabilities" am: 59d89299c9 am: 622e129d00

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

Change-Id: Iab7908bbeb3fd58599d7702e44450a4224a78f5b
This commit is contained in:
Junyu Lai
2021-05-03 03:50:18 +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