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

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

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

View File

@@ -1525,7 +1525,7 @@ public class ConnectivityManager {
/** /**
* Get the {@link NetworkCapabilities} for the given {@link Network}. This * 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 * This will remove any location sensitive data in {@link TransportInfo} embedded in
* {@link NetworkCapabilities#getTransportInfo()}. Some transport info instances like * {@link NetworkCapabilities#getTransportInfo()}. Some transport info instances like