Rename getVpnRequiresValidation to isVpnValidationRequired
Update API name from getVpnRequiresValidation to isVpnValidationRequired according to API review feedback. Test: atest FrameworksNetTests Bug: 220129160 Change-Id: I1025f4c35b320c14e872eaffd7ed82658a5f3d0c
This commit is contained in:
@@ -250,7 +250,7 @@ public final class NetworkAgentConfig implements Parcelable {
|
||||
|
||||
/**
|
||||
* Whether network validation should be performed for this VPN network.
|
||||
* {@see #getVpnRequiresValidation}
|
||||
* {@see #isVpnValidationRequired}
|
||||
* @hide
|
||||
*/
|
||||
private boolean mVpnRequiresValidation = false;
|
||||
@@ -265,7 +265,7 @@ public final class NetworkAgentConfig implements Parcelable {
|
||||
* @hide
|
||||
*/
|
||||
@SystemApi(client = MODULE_LIBRARIES)
|
||||
public boolean getVpnRequiresValidation() {
|
||||
public boolean isVpnValidationRequired() {
|
||||
return mVpnRequiresValidation;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user