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

Commit 6bebfa70 authored by Nathan Harold's avatar Nathan Harold Committed by android-build-merger
Browse files

Merge "[DO NOT MERGE] Do not start the IpSecService" into oc-dev

am: 72cdc9cd

Change-Id: I7c6360ee53e929e0e03dcd1e1a767d98af94f620
parents ab0605ce 72cdc9cd
Loading
Loading
Loading
Loading
+0 −18
Original line number Diff line number Diff line
@@ -673,7 +673,6 @@ public final class SystemServer {
        VibratorService vibrator = null;
        IStorageManager storageManager = null;
        NetworkManagementService networkManagement = null;
        IpSecService ipSecService = null;
        NetworkStatsService networkStats = null;
        NetworkPolicyManagerService networkPolicy = null;
        ConnectivityService connectivity = null;
@@ -1026,15 +1025,6 @@ public final class SystemServer {
                    reportWtf("starting NetworkManagement Service", e);
                }
                traceEnd();

                traceBeginAndSlog("StartIpSecService");
                try {
                    ipSecService = IpSecService.create(context);
                    ServiceManager.addService(Context.IPSEC_SERVICE, ipSecService);
                } catch (Throwable e) {
                    reportWtf("starting IpSec Service", e);
                }
                traceEnd();
            }

            if (!disableNonCoreServices && !disableTextServices) {
@@ -1652,7 +1642,6 @@ public final class SystemServer {
        final TelephonyRegistry telephonyRegistryF = telephonyRegistry;
        final MediaRouterService mediaRouterF = mediaRouter;
        final MmsServiceBroker mmsServiceF = mmsService;
        final IpSecService ipSecServiceF = ipSecService;
        final WindowManagerService windowManagerF = wm;

        // We now tell the activity manager it is okay to run third party
@@ -1717,13 +1706,6 @@ public final class SystemServer {
                        .networkScoreAndNetworkManagementServiceReady();
            }
            traceEnd();
            traceBeginAndSlog("MakeIpSecServiceReady");
            try {
                if (ipSecServiceF != null) ipSecServiceF.systemReady();
            } catch (Throwable e) {
                reportWtf("making IpSec Service ready", e);
            }
            traceEnd();
            traceBeginAndSlog("MakeNetworkStatsServiceReady");
            try {
                if (networkStatsF != null) networkStatsF.systemReady();