PBAP connect to alternate device.
Fix connect to first disconnect from all connected devices before attempting to connect to a new device for PBAP Client. Bug: 28003503 Change-Id: I1299fc146c881f359832dae2da814a4aebbfec59
This commit is contained in:
@@ -144,7 +144,9 @@ final class PbapClientProfile implements LocalBluetoothProfile {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
mService.disconnect(device);
|
||||
for (BluetoothDevice src : srcs) {
|
||||
mService.disconnect(device);
|
||||
}
|
||||
}
|
||||
Log.d(TAG,"PBAPClientProfile attempting to connect to " + device.getAddress());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user