From 47839a0cb4e04052b81d0c0293c2ed0e8627f240 Mon Sep 17 00:00:00 2001 From: Pavel Maltsev Date: Mon, 9 Apr 2018 13:10:11 -0700 Subject: [PATCH] Remove unwanted capabilitiy from the java-doc Per API council feedback remove unwanted capaibility from public API java docs Bug: 77601789 Test: make docs Test: build and flash Change-Id: Ia7fd6d79546bf99448f8f2bda0370c7230ea4527 --- core/java/android/net/NetworkRequest.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/core/java/android/net/NetworkRequest.java b/core/java/android/net/NetworkRequest.java index 6f812ac38e..bd4a27c2ab 100644 --- a/core/java/android/net/NetworkRequest.java +++ b/core/java/android/net/NetworkRequest.java @@ -168,11 +168,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 @@ -184,8 +179,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.