summaryrefslogtreecommitdiff
path: root/services/java/com
diff options
context:
space:
mode:
authorYeabkal Wubshit <yeabkal@google.com>2021-04-30 22:11:54 -0700
committerJosh Yang <yzj@google.com>2022-01-12 02:20:55 +0000
commita29b7618694fb94de44557728a5b07c630ac4c48 (patch)
treebd45db445fa4ef0a69733f46f8131d0ff411fef3 /services/java/com
parent38e24b4186168937466dec25cab6d67cca459810 (diff)
Init HealthService
Bug: 186868020 Test: service started successfully Change-Id: I4f152db83ba39e3ff39d4a4706fcfa7c2ab9d89c (cherry picked from commit 5f95bba46592adef642742dff2a22687d4cd2c88)
Diffstat (limited to 'services/java/com')
-rw-r--r--services/java/com/android/server/SystemServer.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/services/java/com/android/server/SystemServer.java b/services/java/com/android/server/SystemServer.java
index fe5c358bc5c1..ac90ceb1b828 100644
--- a/services/java/com/android/server/SystemServer.java
+++ b/services/java/com/android/server/SystemServer.java
@@ -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();