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

Commit a29b7618 authored by Yeabkal Wubshit's avatar Yeabkal Wubshit Committed by Josh Yang
Browse files

Init HealthService

Bug: 186868020
Test: service started successfully
Change-Id: I4f152db83ba39e3ff39d4a4706fcfa7c2ab9d89c
(cherry picked from commit 5f95bba46592adef642742dff2a22687d4cd2c88)
parent 38e24b41
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -310,6 +310,8 @@ public final class SystemServer implements Dumpable {
            "com.android.clockwork.connectivity.WearConnectivityService";
    private static final String WEAR_POWER_SERVICE_CLASS =
            "com.android.clockwork.power.WearPowerService";
    private static final String HEALTH_SERVICE_CLASS =
            "com.google.android.clockwork.healthservices.HealthService";
    private static final String WEAR_SIDEKICK_SERVICE_CLASS =
            "com.google.android.clockwork.sidekick.SidekickService";
    private static final String WEAR_DISPLAYOFFLOAD_SERVICE_CLASS =
@@ -2499,6 +2501,10 @@ public final class SystemServer implements Dumpable {
            mSystemServiceManager.startService(WEAR_POWER_SERVICE_CLASS);
            t.traceEnd();

            t.traceBegin("StartHealthService");
            mSystemServiceManager.startService(HEALTH_SERVICE_CLASS);
            t.traceEnd();

            t.traceBegin("StartWearConnectivityService");
            mSystemServiceManager.startService(WEAR_CONNECTIVITY_SERVICE_CLASS);
            t.traceEnd();