Merge "Add debug log for set/remove active device." am: cbb4cd1f8c am: 1466c82f13 am: 24c414d9e5 am: a47b3f1ace
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1351257 Change-Id: Icc8a185deba5d0ef0a797fbcd241e2a002535a74
This commit is contained in:
@@ -1812,6 +1812,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) {
|
||||
@@ -1856,6 +1857,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) {
|
||||
|
||||
Reference in New Issue
Block a user