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:
Chiachang Wang
2022-02-18 13:15:13 +08:00
parent c05d86b850
commit 7ec6ae74c8
3 changed files with 4 additions and 4 deletions

View File

@@ -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;
}