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

Commit fd075434 authored by Muhammad Hasan Khan's avatar Muhammad Hasan Khan
Browse files

SystemServer: Support health service for ARC

Load health service for ARC. This is similar to earlier
change in master. See ag/5468197

Bug: 301629530
Test: m
Change-Id: Iac707f0b9b4cf2502e1d6f1f4127ebe935d87567
parent dc49ddbf
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -264,6 +264,8 @@ public final class SystemServer implements Dumpable {
            "com.android.server.backup.BackupManagerService$Lifecycle";
    private static final String APPWIDGET_SERVICE_CLASS =
            "com.android.server.appwidget.AppWidgetService";
    private static final String ARC_SYSTEM_HEALTH_SERVICE =
            "com.android.server.arc.health.ArcSystemHealthService";
    private static final String VOICE_RECOGNITION_MANAGER_SERVICE_CLASS =
            "com.android.server.voiceinteraction.VoiceInteractionManagerService";
    private static final String APP_HIBERNATION_SERVICE_CLASS =
@@ -1287,6 +1289,12 @@ public final class SystemServer implements Dumpable {
            }
        }

        if (Build.IS_ARC) {
            t.traceBegin("StartArcSystemHealthService");
            mSystemServiceManager.startService(ARC_SYSTEM_HEALTH_SERVICE);
            t.traceEnd();
        }

        t.traceBegin("StartUserManagerService");
        mSystemServiceManager.startService(UserManagerService.LifeCycle.class);
        t.traceEnd();