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

Commit 37da1d0a authored by Yan Yan's avatar Yan Yan Committed by Automerger Merge Worker
Browse files

Merge "Remove hidden VcnTransportInfo methods from VpnTest" into main am: ad54f58a

parents 639f366a ad54f58a
Loading
Loading
Loading
Loading
+8 −4
Original line number Diff line number Diff line
@@ -2380,9 +2380,13 @@ public class VpnTest extends VpnTestBase {
    @Test
    public void doTestMigrateIkeSession_Vcn() throws Exception {
        final int expectedKeepalive = 2097; // Any unlikely number will do
        final NetworkCapabilities vcnNc = new NetworkCapabilities.Builder()
        final NetworkCapabilities vcnNc =
                new NetworkCapabilities.Builder()
                        .addTransportType(TRANSPORT_CELLULAR)
                .setTransportInfo(new VcnTransportInfo(TEST_SUB_ID, expectedKeepalive))
                        .setTransportInfo(
                                new VcnTransportInfo.Builder()
                                        .setMinUdpPort4500NatTimeoutSeconds(expectedKeepalive)
                                        .build())
                        .build();
        final Ikev2VpnProfile ikev2VpnProfile = makeIkeV2VpnProfile(
                true /* isAutomaticIpVersionSelectionEnabled */,