Add resources and hooks required for custom wear global actions.
Bug: 31802693
Test: manual test
Change-Id: Ie5e2082e2121f6f3a7ca847f40e5cebab52aab0d
diff --git a/services/java/com/android/server/SystemServer.java b/services/java/com/android/server/SystemServer.java
index ccfadc0..fa5502c 100644
--- a/services/java/com/android/server/SystemServer.java
+++ b/services/java/com/android/server/SystemServer.java
@@ -206,6 +206,8 @@
"com.google.android.clockwork.lefty.WearLeftyService";
private static final String WEAR_TIME_SERVICE_CLASS =
"com.google.android.clockwork.time.WearTimeService";
+ private static final String WEAR_GLOBAL_ACTIONS_SERVICE_CLASS =
+ "com.android.clockwork.globalactions.GlobalActionsService";
private static final String ACCOUNT_SERVICE_CLASS =
"com.android.server.accounts.AccountManagerService$Lifecycle";
private static final String CONTENT_SERVICE_CLASS =
@@ -1546,6 +1548,10 @@
mSystemServiceManager.startService(WEAR_LEFTY_SERVICE_CLASS);
traceEnd();
}
+
+ traceBeginAndSlog("StartWearGlobalActionsService");
+ mSystemServiceManager.startService(WEAR_GLOBAL_ACTIONS_SERVICE_CLASS);
+ traceEnd();
}
if (!disableSlices) {