Merge "Emphasize possibility of multiple networks with same transport"

This commit is contained in:
David Su
2021-05-11 15:51:28 +00:00
committed by Gerrit Code Review

View File

@@ -2444,7 +2444,8 @@ public final class NetworkCapabilities implements Parcelable {
* For example {@code TRANSPORT_WIFI} and {@code TRANSPORT_ETHERNET} added to a * 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 * {@code NetworkCapabilities} would cause either a Wi-Fi network or an Ethernet network
* to be selected. This is logically different than * 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. * @param transportType the transport type to be added or removed.
* @return this builder * @return this builder