Emphasize possibility of multiple networks with same transport

Bug: 180125982
Test: compiles
Change-Id: I70d312c29b7d7b773ebb8d70043f239a6c1aae15
This commit is contained in:
David Su
2021-03-05 01:21:21 +00:00
parent d803d6f423
commit 48bd827f67

View File

@@ -2291,7 +2291,8 @@ public final class NetworkCapabilities implements Parcelable {
* For example {@code TRANSPORT_WIFI} and {@code TRANSPORT_ETHERNET} added to a
* {@code NetworkCapabilities} would cause either a Wi-Fi network or an Ethernet network
* to be selected. This is logically different than
* {@code NetworkCapabilities.NET_CAPABILITY_*}.
* {@code NetworkCapabilities.NET_CAPABILITY_*}. Also note that multiple networks with the
* same transport type may be active concurrently.
*
* @param transportType the transport type to be added or removed.
* @return this builder