summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Neha Pattan <npattan@google.com> 2022-03-09 23:46:25 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2022-03-09 23:46:25 +0000
commitdcdb94e369adc129312d95710bef25d1c960169d (patch)
treec810bcd38fca62421147776ff68a60234ee004e4
parentcf8bd65857b18a3566d8f8f81a6d783de018e557 (diff)
parent4b0e5661e852e41e65914bd18c4d0ececef0658b (diff)
Merge "Start system service for AdServices." into tm-dev
-rw-r--r--services/java/com/android/server/SystemServer.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/services/java/com/android/server/SystemServer.java b/services/java/com/android/server/SystemServer.java
index fa2850a5157d..c8eaa23ed11d 100644
--- a/services/java/com/android/server/SystemServer.java
+++ b/services/java/com/android/server/SystemServer.java
@@ -423,6 +423,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";
@@ -2608,6 +2610,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();
}