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

Commit 77a0e3da authored by Lucas Lin's avatar Lucas Lin Committed by Gerrit Code Review
Browse files

Merge "Address leftover comments of ag/18108411"

parents 467ebb83 a0cb82f7
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -2657,8 +2657,6 @@ public class Vpn {
            super(TAG);
            mProfile = profile;
            mIpSecManager = (IpSecManager) mContext.getSystemService(Context.IPSEC_SERVICE);
            // Pass mExecutor into Ikev2VpnNetworkCallback and make sure that IkeV2VpnRunnerCallback
            // will be called by the mExecutor thread.
            mNetworkCallback = new VpnIkev2Utils.Ikev2VpnNetworkCallback(TAG, this, mExecutor);
            mSessionKey = UUID.randomUUID().toString();
        }
+3 −3
Original line number Diff line number Diff line
@@ -88,7 +88,7 @@ import java.util.Arrays;
import java.util.Collection;
import java.util.HashSet;
import java.util.List;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executor;

/**
 * Utility class to build and convert IKEv2/IPsec parameters.
@@ -378,10 +378,10 @@ public class VpnIkev2Utils {
    static class Ikev2VpnNetworkCallback extends NetworkCallback {
        private final String mTag;
        private final Vpn.IkeV2VpnRunnerCallback mCallback;
        private final ExecutorService mExecutor;
        private final Executor mExecutor;

        Ikev2VpnNetworkCallback(String tag, Vpn.IkeV2VpnRunnerCallback callback,
                ExecutorService executor) {
                Executor executor) {
            mTag = tag;
            mCallback = callback;
            mExecutor = executor;