Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b1dc9fc8 authored by Chiachang Wang's avatar Chiachang Wang
Browse files

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
parent e96070ac
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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;
    }