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

Commit 4b0e5661 authored by Neha Pattan's avatar Neha Pattan
Browse files

Start system service for AdServices.

Test: build (the service is empty)
Bug: 216375107
Change-Id: I6d8212f65e424c08a433e1dad54bf17dd50dba18
parent f0d3c47f
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -422,6 +422,8 @@ public final class SystemServer implements Dumpable {

    private static final String SDK_SANDBOX_MANAGER_SERVICE_CLASS =
            "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 TETHERING_CONNECTOR_CLASS = "android.net.ITetheringConnector";

@@ -2604,6 +2606,11 @@ public final class SystemServer implements Dumpable {
        mSystemServiceManager.startService(SDK_SANDBOX_MANAGER_SERVICE_CLASS);
        t.traceEnd();

        // AdServicesManagerService (PP API service)
        t.traceBegin("StartAdServicesManagerService");
        mSystemServiceManager.startService(AD_SERVICES_MANAGER_SERVICE_CLASS);
        t.traceEnd();

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