Add resources and hooks required for custom wear global actions.

Bug: 31802693
Test: manual test
Change-Id: Ie5e2082e2121f6f3a7ca847f40e5cebab52aab0d
This commit is contained in:
Michael Kwan
2018-02-28 15:19:04 -08:00
parent 5395a3cec7
commit 01ad0aabf2
6 changed files with 126 additions and 0 deletions

View File

@@ -206,6 +206,8 @@ public final class SystemServer {
"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 @@ public final class SystemServer {
mSystemServiceManager.startService(WEAR_LEFTY_SERVICE_CLASS);
traceEnd();
}
traceBeginAndSlog("StartWearGlobalActionsService");
mSystemServiceManager.startService(WEAR_GLOBAL_ACTIONS_SERVICE_CLASS);
traceEnd();
}
if (!disableSlices) {