From ebd556314a38b9deb605c0222c00ed3b5df5867c Mon Sep 17 00:00:00 2001 From: Roopa Sattiraju Date: Mon, 14 Feb 2022 10:28:52 -0800 Subject: [PATCH] Changing server location to com.android.server.bluetooth Bug: 217736913 Test: Compile and bringup Change-Id: I570a8cf84246cc8e7c6cc2c0a0bfef49d9e69c9d --- services/java/com/android/server/SystemServer.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/services/java/com/android/server/SystemServer.java b/services/java/com/android/server/SystemServer.java index 5c3721d482c65..2e801ab60acdf 100644 --- a/services/java/com/android/server/SystemServer.java +++ b/services/java/com/android/server/SystemServer.java @@ -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(); }