Init HealthService

Bug: 186868020
Test: service started successfully
Change-Id: I4f152db83ba39e3ff39d4a4706fcfa7c2ab9d89c
(cherry picked from commit 5f95bba46592adef642742dff2a22687d4cd2c88)
This commit is contained in:
Yeabkal Wubshit
2021-04-30 22:11:54 -07:00
committed by Josh Yang
parent 38e24b4186
commit a29b761869

View File

@@ -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();