Create StatsPullAtomService
This creates an empty systeme service for the java pullers that are curreently in StatsCompanionService to live. StatsPullAtomService will not live in the statsd apex. Test: builds, boots Bug: 141697961 Change-Id: Ifc8ed9903d414ada665875a44254e602decf6495
This commit is contained in:
@@ -214,6 +214,8 @@ public final class SystemServer {
|
||||
"com.android.server.companion.CompanionDeviceManagerService";
|
||||
private static final String STATS_COMPANION_LIFECYCLE_CLASS =
|
||||
"com.android.server.stats.StatsCompanion$Lifecycle";
|
||||
private static final String STATS_PULL_ATOM_SERVICE_CLASS =
|
||||
"com.android.server.stats.StatsPullAtomService";
|
||||
private static final String USB_SERVICE_CLASS =
|
||||
"com.android.server.usb.UsbService$Lifecycle";
|
||||
private static final String MIDI_SERVICE_CLASS =
|
||||
@@ -1975,6 +1977,11 @@ public final class SystemServer {
|
||||
mSystemServiceManager.startService(STATS_COMPANION_LIFECYCLE_CLASS);
|
||||
t.traceEnd();
|
||||
|
||||
// Statsd pulled atoms
|
||||
t.traceBegin("StartStatsPullAtomService");
|
||||
mSystemServiceManager.startService(STATS_PULL_ATOM_SERVICE_CLASS);
|
||||
t.traceEnd();
|
||||
|
||||
// Incidentd and dumpstated helper
|
||||
t.traceBegin("StartIncidentCompanionService");
|
||||
mSystemServiceManager.startService(IncidentCompanionService.class);
|
||||
|
||||
Reference in New Issue
Block a user