Merge "Add debug log for set/remove active device."
This commit is contained in:
@@ -1784,6 +1784,7 @@ public final class BluetoothAdapter {
|
|||||||
try {
|
try {
|
||||||
mServiceLock.readLock().lock();
|
mServiceLock.readLock().lock();
|
||||||
if (mService != null) {
|
if (mService != null) {
|
||||||
|
if (DBG) Log.d(TAG, "removeActiveDevice, profiles: " + profiles);
|
||||||
return mService.removeActiveDevice(profiles);
|
return mService.removeActiveDevice(profiles);
|
||||||
}
|
}
|
||||||
} catch (RemoteException e) {
|
} catch (RemoteException e) {
|
||||||
@@ -1828,6 +1829,9 @@ public final class BluetoothAdapter {
|
|||||||
try {
|
try {
|
||||||
mServiceLock.readLock().lock();
|
mServiceLock.readLock().lock();
|
||||||
if (mService != null) {
|
if (mService != null) {
|
||||||
|
if (DBG) {
|
||||||
|
Log.d(TAG, "setActiveDevice, device: " + device + ", profiles: " + profiles);
|
||||||
|
}
|
||||||
return mService.setActiveDevice(device, profiles);
|
return mService.setActiveDevice(device, profiles);
|
||||||
}
|
}
|
||||||
} catch (RemoteException e) {
|
} catch (RemoteException e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user