Move Scheduling system service into apex manifest.
This allows to have continuous testing in prod. There are no dependencies on this service, so it can be moved to the late init stage. Bug: 192880996 Test: presubmit Change-Id: I3ce24143b1d2af96cb2411a40838f2f796eb24f4
This commit is contained in:
@@ -261,10 +261,6 @@ public final class SystemServer implements Dumpable {
|
||||
"com.android.server.companion.virtual.VirtualDeviceManagerService";
|
||||
private static final String STATS_COMPANION_APEX_PATH =
|
||||
"/apex/com.android.os.statsd/javalib/service-statsd.jar";
|
||||
private static final String SCHEDULING_APEX_PATH =
|
||||
"/apex/com.android.scheduling/javalib/service-scheduling.jar";
|
||||
private static final String REBOOT_READINESS_LIFECYCLE_CLASS =
|
||||
"com.android.server.scheduling.RebootReadinessManagerService$Lifecycle";
|
||||
private static final String CONNECTIVITY_SERVICE_APEX_PATH =
|
||||
"/apex/com.android.tethering/javalib/service-connectivity.jar";
|
||||
private static final String STATS_COMPANION_LIFECYCLE_CLASS =
|
||||
@@ -2547,12 +2543,6 @@ public final class SystemServer implements Dumpable {
|
||||
STATS_COMPANION_LIFECYCLE_CLASS, STATS_COMPANION_APEX_PATH);
|
||||
t.traceEnd();
|
||||
|
||||
// Reboot Readiness
|
||||
t.traceBegin("StartRebootReadinessManagerService");
|
||||
mSystemServiceManager.startServiceFromJar(
|
||||
REBOOT_READINESS_LIFECYCLE_CLASS, SCHEDULING_APEX_PATH);
|
||||
t.traceEnd();
|
||||
|
||||
// Statsd pulled atoms
|
||||
t.traceBegin("StartStatsPullAtomService");
|
||||
mSystemServiceManager.startService(STATS_PULL_ATOM_SERVICE_CLASS);
|
||||
|
||||
Reference in New Issue
Block a user