summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Calvin On <con@google.com> 2017-02-22 22:41:41 +0000
committer android-build-merger <android-build-merger@google.com> 2017-02-22 22:41:41 +0000
commitabfd5bccb950c838c56667c9d553b2eeec3d2fa6 (patch)
treecb18d275d3c27ed59d002e0479ba5846be6b8634
parentd54f3a487bba1dc5008e2e1482ef451a59500752 (diff)
parent5555bccc70c032206ba1efe6961e3d021239d51b (diff)
Replace WearWifi/Cell services with WearConnectivityService
am: 5555bccc70 Change-Id: I5d8c97b8d5c394aeae99b7ddbe0dfdd5706a4293
-rw-r--r--services/java/com/android/server/SystemServer.java11
1 files changed, 3 insertions, 8 deletions
diff --git a/services/java/com/android/server/SystemServer.java b/services/java/com/android/server/SystemServer.java
index 653c5e9f3df5..3ca4e93a4a21 100644
--- a/services/java/com/android/server/SystemServer.java
+++ b/services/java/com/android/server/SystemServer.java
@@ -160,10 +160,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_CELLULAR_MEDIATOR_SERVICE_CLASS =
- "com.google.android.clockwork.cellular.WearCellularMediatorService";
+ private static final String WEAR_CONNECTIVITY_SERVICE_CLASS =
+ "com.google.android.clockwork.connectivity.WearConnectivityService";
private static final String WEAR_TIME_SERVICE_CLASS =
"com.google.android.clockwork.time.WearTimeService";
private static final String ACCOUNT_SERVICE_CLASS =
@@ -1191,10 +1189,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 (SystemProperties.getBoolean("config.enable_cellmediator", false)) {
- mSystemServiceManager.startService(WEAR_CELLULAR_MEDIATOR_SERVICE_CLASS);
- }
+ mSystemServiceManager.startService(WEAR_CONNECTIVITY_SERVICE_CLASS);
if (!disableNonCoreServices) {
mSystemServiceManager.startService(WEAR_TIME_SERVICE_CLASS);
}