Actually @hide unwanted capability methods.
Bug: 77601789 Test: builds, boots Test: make doc-comment-check-docs Change-Id: I7a913b83ab5110047d187564b3a1b0bbe1631942
This commit is contained in:
@@ -321,14 +321,6 @@ package android.net {
|
||||
public static abstract class NetworkBadging.Badging implements java.lang.annotation.Annotation {
|
||||
}
|
||||
|
||||
public class NetworkRequest implements android.os.Parcelable {
|
||||
method public boolean hasUnwantedCapability(int);
|
||||
}
|
||||
|
||||
public static class NetworkRequest.Builder {
|
||||
method public android.net.NetworkRequest.Builder addUnwantedCapability(int);
|
||||
}
|
||||
|
||||
public class SSLCertificateSocketFactory extends javax.net.ssl.SSLSocketFactory {
|
||||
method public static deprecated org.apache.http.conn.ssl.SSLSocketFactory getHttpSocketFactory(int, android.net.SSLSessionCache);
|
||||
}
|
||||
|
||||
@@ -228,7 +228,7 @@ public class NetworkRequest implements Parcelable {
|
||||
* @param capability The capability to add to unwanted capability list.
|
||||
* @return The builder to facilitate chaining.
|
||||
*
|
||||
* @removed
|
||||
* @hide
|
||||
*/
|
||||
public Builder addUnwantedCapability(@NetworkCapabilities.NetCapability int capability) {
|
||||
mNetworkCapabilities.addUnwantedCapability(capability);
|
||||
@@ -436,7 +436,7 @@ public class NetworkRequest implements Parcelable {
|
||||
/**
|
||||
* @see Builder#addUnwantedCapability(int)
|
||||
*
|
||||
* @removed
|
||||
* @hide
|
||||
*/
|
||||
public boolean hasUnwantedCapability(@NetCapability int capability) {
|
||||
return networkCapabilities.hasUnwantedCapability(capability);
|
||||
|
||||
Reference in New Issue
Block a user