OSDN Git Service

Remove the now-empty WearBluetoothService from SystemServer
authorCalvin On <con@google.com>
Fri, 17 Mar 2017 21:19:29 +0000 (14:19 -0700)
committerCalvin On <con@google.com>
Fri, 17 Mar 2017 21:19:29 +0000 (14:19 -0700)
Change-Id: I7ddf213fa90acf84a50a53e7666311132b6b3922

services/java/com/android/server/SystemServer.java

index 19c1abd..6dd3189 100644 (file)
@@ -158,8 +158,6 @@ public final class SystemServer {
             "com.android.server.search.SearchManagerService$Lifecycle";
     private static final String THERMAL_OBSERVER_CLASS =
             "com.google.android.clockwork.ThermalObserver";
-    private static final String WEAR_BLUETOOTH_SERVICE_CLASS =
-            "com.google.android.clockwork.bluetooth.WearBluetoothService";
     private static final String WEAR_CONNECTIVITY_SERVICE_CLASS =
             "com.google.android.clockwork.connectivity.WearConnectivityService";
     private static final String WEAR_TIME_SERVICE_CLASS =
@@ -1184,7 +1182,6 @@ public final class SystemServer {
         }
 
         if (context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH)) {
-            mSystemServiceManager.startService(WEAR_BLUETOOTH_SERVICE_CLASS);
             mSystemServiceManager.startService(WEAR_CONNECTIVITY_SERVICE_CLASS);
           if (!disableNonCoreServices) {
               mSystemServiceManager.startService(WEAR_TIME_SERVICE_CLASS);