Pbap disconnect durring connect

Durring a connect call disconnect from all other pbap devices rather
than from the device you are trying to connect to.

bug: 28406739
Change-Id: Ic0b651f32a0da18950fbc190b1d4503d69ebd203
(cherry picked from commit bdd24942e47811ffe6bb9814934e6b08a8190e7e)
This commit is contained in:
Joseph Pirozzo
2016-05-02 07:30:21 -07:00
committed by Sanket Agarwal
parent 631768d814
commit a4f0127fbb

View File

@@ -145,7 +145,7 @@ final class PbapClientProfile implements LocalBluetoothProfile {
}
}
for (BluetoothDevice src : srcs) {
mService.disconnect(device);
mService.disconnect(src);
}
}
Log.d(TAG,"PBAPClientProfile attempting to connect to " + device.getAddress());