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

Commit e1612d04 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

am: 6bebfa70

Change-Id: I5cb366480533afdb767144d760198d8ddfaa3dbd
parents 9a997454 6bebfa70
Loading
Loading
Loading
Loading
+0 −18
Original line number Diff line number Diff line
@@ -677,7 +677,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;
@@ -1035,15 +1034,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) {
@@ -1669,7 +1659,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
@@ -1734,13 +1723,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();