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:
parent
b459e5166d
commit
0b3d600ff6
1 changed files with 1 additions and 2 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue