diff --git a/core/java/android/net/NetworkRequest.java b/core/java/android/net/NetworkRequest.java index ff39ed15a9..b0b58cd524 100644 --- a/core/java/android/net/NetworkRequest.java +++ b/core/java/android/net/NetworkRequest.java @@ -167,11 +167,6 @@ public class NetworkRequest implements Parcelable { * the requested network's required capabilities. Note that when searching * for a network to satisfy a request, all capabilities requested must be * satisfied. - *
- * If the given capability was previously added to the list of unwanted capabilities - * then the capability will also be removed from the list of unwanted capabilities. - * - * @see #addUnwantedCapability(int) * * @param capability The capability to add. * @return The builder to facilitate chaining @@ -183,8 +178,7 @@ public class NetworkRequest implements Parcelable { } /** - * Removes (if found) the given capability from this builder instance from both required - * and unwanted capabilities lists. + * Removes (if found) the given capability from this builder instance. * * @param capability The capability to remove. * @return The builder to facilitate chaining.