Rename getRequiresInternetValidation to isInternetValidationRequired
Update naming from getRequiresInternetValidation to isInternedValdiationRequired. This addresses API review feedback. Bug: 220129160 Test: atest FrameworksNetTests CTS-Coverage-Bug: 220129160 Change-Id: I9e25890af6ed73538e9e44381bf05d587808c8de
This commit is contained in:
@@ -25311,9 +25311,9 @@ package android.net {
|
||||
|
||||
public abstract class PlatformVpnProfile {
|
||||
method public final boolean areLocalRoutesExcluded();
|
||||
method public final boolean getRequiresInternetValidation();
|
||||
method public final int getType();
|
||||
method @NonNull public final String getTypeString();
|
||||
method public final boolean isInternetValidationRequired();
|
||||
field public static final int TYPE_IKEV2_IPSEC_PSK = 7; // 0x7
|
||||
field public static final int TYPE_IKEV2_IPSEC_RSA = 8; // 0x8
|
||||
field public static final int TYPE_IKEV2_IPSEC_USER_PASS = 6; // 0x6
|
||||
|
||||
@@ -100,7 +100,7 @@ public abstract class PlatformVpnProfile {
|
||||
* always gain the {@link NetworkCapabilities#NET_CAPABILITY_VALIDATED} capability
|
||||
* immediately after it connects, whether it can reach public Internet destinations or not.
|
||||
*/
|
||||
public final boolean getRequiresInternetValidation() {
|
||||
public final boolean isInternetValidationRequired() {
|
||||
return mRequiresInternetValidation;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user