Changing server location to com.android.server.bluetooth

Bug: 217736913
Test: Compile and bringup
Change-Id: I570a8cf84246cc8e7c6cc2c0a0bfef49d9e69c9d
This commit is contained in:
Roopa Sattiraju
2022-02-14 10:28:52 -08:00
parent cdd2a77e6b
commit ebd556314a

View File

@@ -417,6 +417,8 @@ public final class SystemServer implements Dumpable {
private static final String UWB_SERVICE_CLASS = "com.android.server.uwb.UwbService";
private static final String SAFETY_CENTER_SERVICE_CLASS =
"com.android.safetycenter.SafetyCenterService";
private static final String BLUETOOTH_SERVICE_CLASS =
"com.android.server.bluetooth.BluetoothService";
private static final String SUPPLEMENTALPROCESS_SERVICE_CLASS =
"com.android.server.supplementalprocess.SupplementalProcessManagerService$Lifecycle";
@@ -1624,7 +1626,7 @@ public final class SystemServer implements Dumpable {
Slog.i(TAG, "No Bluetooth Service (Bluetooth Hardware Not Present)");
} else {
t.traceBegin("StartBluetoothService");
mSystemServiceManager.startService(BluetoothService.class);
mSystemServiceManager.startService(BLUETOOTH_SERVICE_CLASS);
t.traceEnd();
}