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

Commit 2f5148c9 authored by Karthik Mahesh's avatar Karthik Mahesh
Browse files

Start ODP system service.

Bug: 236174677
Test: TH, manual test
Change-Id: I0912fe369b6b643e04d0e439b091b545e3111288
parent 6fe6b182
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -426,6 +426,9 @@ public final class SystemServer implements Dumpable {
            "com.android.server.sdksandbox.SdkSandboxManagerService$Lifecycle";
    private static final String AD_SERVICES_MANAGER_SERVICE_CLASS =
            "com.android.server.adservices.AdServicesManagerService$Lifecycle";
    private static final String ON_DEVICE_PERSONALIZATION_SYSTEM_SERVICE_CLASS =
            "com.android.server.ondevicepersonalization."
                    + "OnDevicePersonalizationSystemService$Lifecycle";
    private static final String UPDATABLE_DEVICE_CONFIG_SERVICE_CLASS =
            "com.android.server.deviceconfig.DeviceConfigInit$Lifecycle";

@@ -2618,6 +2621,11 @@ public final class SystemServer implements Dumpable {
        mSystemServiceManager.startService(AD_SERVICES_MANAGER_SERVICE_CLASS);
        t.traceEnd();

        // OnDevicePersonalizationSystemService
        t.traceBegin("StartOnDevicePersonalizationSystemService");
        mSystemServiceManager.startService(ON_DEVICE_PERSONALIZATION_SYSTEM_SERVICE_CLASS);
        t.traceEnd();

        if (safeMode) {
            mActivityManagerService.enterSafeMode();
        }