summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Nancy Zheng <nzheng@google.com> 2016-07-08 12:55:48 -0700
committer Nancy Zheng <nzheng@google.com> 2016-07-08 12:55:48 -0700
commitf3d8b81d4b7ea8d0979480f9be966a08d5ad0b6d (patch)
tree559c032555f5ae7c6ce40de6a1bda8bb006f2a97
parent8ee0a67ba713f4476b5517b1555b3a8b2be4baa6 (diff)
Add WearWifiMediatorService to SystemServer.
Bug: 28347905 Change-Id: I4218f908f83eb3a9fe3f75e5d6eaf312c652ba67
-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 37a9d5df6237..bc3c98d73fc2 100644
--- a/services/java/com/android/server/SystemServer.java
+++ b/services/java/com/android/server/SystemServer.java
@@ -157,6 +157,8 @@ public final class SystemServer {
"com.google.android.clockwork.ThermalObserver";
private static final String WEAR_BLUETOOTH_SERVICE_CLASS =
"com.google.android.clockwork.bluetooth.WearBluetoothService";
+ private static final String WEAR_WIFI_MEDIATOR_SERVICE_CLASS =
+ "com.google.android.clockwork.wifi.WearWifiMediatorService";
private static final String WEAR_TIME_SERVICE_CLASS =
"com.google.android.clockwork.time.WearTimeService";
private static final String ACCOUNT_SERVICE_CLASS =
@@ -1157,6 +1159,7 @@ public final class SystemServer {
if (context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH)) {
mSystemServiceManager.startService(WEAR_BLUETOOTH_SERVICE_CLASS);
+ mSystemServiceManager.startService(WEAR_WIFI_MEDIATOR_SERVICE_CLASS);
if (!disableNonCoreServices) {
mSystemServiceManager.startService(WEAR_TIME_SERVICE_CLASS);
}