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

Commit da36e706 authored by Tomasz Wasilczyk's avatar Tomasz Wasilczyk
Browse files

Don't initialize VcnManagementService without telephony subscription

Bug: 310710841
Test: it builds and boots
Change-Id: I68ba0557dbb60381226ae3fff811d62d6e2f7542
parent 3a9e332a
Loading
Loading
Loading
Loading
+9 −7
Original line number Diff line number Diff line
@@ -2164,6 +2164,7 @@ public final class SystemServer implements Dumpable {
            }
            t.traceEnd();

            if (mPackageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY_SUBSCRIPTION)) {
                t.traceBegin("StartVcnManagementService");
                try {
                    vcnManagement = VcnManagementService.create(context);
@@ -2172,6 +2173,7 @@ public final class SystemServer implements Dumpable {
                    reportWtf("starting VCN Management Service", e);
                }
                t.traceEnd();
            }

            t.traceBegin("StartSystemUpdateManagerService");
            try {