summaryrefslogtreecommitdiff
path: root/services/java/com
diff options
context:
space:
mode:
author Julius D'souza <jdsouza@google.com> 2017-03-22 13:27:00 -0700
committer Julius D'souza <jdsouza@google.com> 2017-04-05 17:39:17 -0700
commit069f46ca34162e531229aba04b0099ea1b9df6b1 (patch)
tree06e09399b34d0b3e15ffe3954fa85b3bcae50e6e /services/java/com
parent1c22609438ea352b071a55e2f1507c5962221473 (diff)
Add WearDisplayService to the system server;
add a SET_DISPLAY_OFFSET permission. Bug: 36515029 Test: No build failure; SystemServer loads as usual. Change-Id: I253766553a507e2ada7d631501d8d32d863a823f
Diffstat (limited to 'services/java/com')
-rw-r--r--services/java/com/android/server/SystemServer.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/services/java/com/android/server/SystemServer.java b/services/java/com/android/server/SystemServer.java
index 4d5112f98771..0f4ad3e0d6b6 100644
--- a/services/java/com/android/server/SystemServer.java
+++ b/services/java/com/android/server/SystemServer.java
@@ -186,6 +186,8 @@ public final class SystemServer {
"com.google.android.clockwork.ThermalObserver";
private static final String WEAR_CONNECTIVITY_SERVICE_CLASS =
"com.google.android.clockwork.connectivity.WearConnectivityService";
+ private static final String WEAR_DISPLAY_SERVICE_CLASS =
+ "com.google.android.clockwork.display.WearDisplayService";
private static final String WEAR_TIME_SERVICE_CLASS =
"com.google.android.clockwork.time.WearTimeService";
private static final String ACCOUNT_SERVICE_CLASS =
@@ -1506,6 +1508,7 @@ public final class SystemServer {
if (!disableNonCoreServices) {
traceBeginAndSlog("StartWearTimeService");
+ mSystemServiceManager.startService(WEAR_DISPLAY_SERVICE_CLASS);
mSystemServiceManager.startService(WEAR_TIME_SERVICE_CLASS);
traceEnd();
}