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