Merge "Add debug log for set/remove active device."

This commit is contained in:
Treehugger Robot
2020-07-09 02:47:31 +00:00
committed by Gerrit Code Review

View File

@@ -1784,6 +1784,7 @@ public final class BluetoothAdapter {
try {
mServiceLock.readLock().lock();
if (mService != null) {
if (DBG) Log.d(TAG, "removeActiveDevice, profiles: " + profiles);
return mService.removeActiveDevice(profiles);
}
} catch (RemoteException e) {
@@ -1828,6 +1829,9 @@ public final class BluetoothAdapter {
try {
mServiceLock.readLock().lock();
if (mService != null) {
if (DBG) {
Log.d(TAG, "setActiveDevice, device: " + device + ", profiles: " + profiles);
}
return mService.setActiveDevice(device, profiles);
}
} catch (RemoteException e) {