Use IPV6_MIN_MTU from NetworkConstants in Ikev2Vpn

Instead of sharing the constant from LinkProperties, use the already
defined constant in the NetworkConstants class.

This allows Ikev2VpnProfile to allow depending on non-public
LinkProperties APIs, as LinkProperties is planned to move to
framework-connectivity.

Bug: 174436414
Test: m
Change-Id: I594bb7e81bc7681799c16eff621a5ffd1b29624c
This commit is contained in:
Remi NGUYEN VAN
2020-11-30 16:35:43 +09:00
parent 30b0d06a86
commit 00c5e70471

View File

@@ -81,8 +81,7 @@ public final class LinkProperties implements Parcelable {
private static final int MIN_MTU = 68;
/** @hide */
public static final int MIN_MTU_V6 = 1280;
private static final int MIN_MTU_V6 = 1280;
private static final int MAX_MTU = 10000;