Have a new method in NetworkAgentConfig.Builder to set allowBypass
Have a new method in NetworkAgentConfig.Builder for Vpn to set allowBypass. Bug: 182963397 Test: m Change-Id: I3f244464438325ee7f8a1b953d3fb28186293628
This commit is contained in:
committed by
Lorenzo Colitti
parent
92ed8b9bab
commit
cdfe026c27
@@ -31,9 +31,11 @@ package android.net {
|
||||
|
||||
public final class NetworkAgentConfig implements android.os.Parcelable {
|
||||
method @Nullable public String getSubscriberId();
|
||||
method public boolean isBypassableVpn();
|
||||
}
|
||||
|
||||
public static final class NetworkAgentConfig.Builder {
|
||||
method @NonNull public android.net.NetworkAgentConfig.Builder setBypassableVpn(boolean);
|
||||
method @NonNull public android.net.NetworkAgentConfig.Builder setSubscriberId(@Nullable String);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user