Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a4f0127f authored by Joseph Pirozzo's avatar Joseph Pirozzo Committed by Sanket Agarwal
Browse files

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)
parent 631768d8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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());