Add doc to getNetworkCapabilities

Test: doc-only change
Fixes: 158092418
Change-Id: Ic20fb55e1bdd4e836468794d1f86d3e9d0bc5965
This commit is contained in:
Chalard Jean
2021-04-30 20:22:10 +09:00
parent 5e2a729668
commit 070bdd4b77

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