Merge "Rename getRequiresInternetValidation to isInternetValidationRequired" am: d734ce3202 am: 8344626eba am: 590305ed33 am: b8a6ed34bb
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1990334 Change-Id: I603c934897c84c18cf6448fa1e25da08482abc2b
This commit is contained in:
@@ -26621,9 +26621,9 @@ package android.net {
|
|||||||
|
|
||||||
public abstract class PlatformVpnProfile {
|
public abstract class PlatformVpnProfile {
|
||||||
method public final boolean areLocalRoutesExcluded();
|
method public final boolean areLocalRoutesExcluded();
|
||||||
method public final boolean getRequiresInternetValidation();
|
|
||||||
method public final int getType();
|
method public final int getType();
|
||||||
method @NonNull public final String getTypeString();
|
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_PSK = 7; // 0x7
|
||||||
field public static final int TYPE_IKEV2_IPSEC_RSA = 8; // 0x8
|
field public static final int TYPE_IKEV2_IPSEC_RSA = 8; // 0x8
|
||||||
field public static final int TYPE_IKEV2_IPSEC_USER_PASS = 6; // 0x6
|
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
|
* always gain the {@link NetworkCapabilities#NET_CAPABILITY_VALIDATED} capability
|
||||||
* immediately after it connects, whether it can reach public Internet destinations or not.
|
* immediately after it connects, whether it can reach public Internet destinations or not.
|
||||||
*/
|
*/
|
||||||
public final boolean getRequiresInternetValidation() {
|
public final boolean isInternetValidationRequired() {
|
||||||
return mRequiresInternetValidation;
|
return mRequiresInternetValidation;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user