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

Commit 5f0928a2 authored by Joseph Pirozzo's avatar Joseph Pirozzo Committed by android-build-merger
Browse files

Merge changes Ife707d80,I74905ee2 am: ba110c1f am: 40467d69

am: 572ea3b7

Change-Id: Ib5eb8bd18f9174fe7359d0055e60b039750abded
parents b998373e 572ea3b7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -729,6 +729,7 @@ class AvrcpControllerStateMachine extends StateMachine {
    }

    void dump(StringBuilder sb) {
        if (mRemoteDevice == null) return;
        BluetoothDevice device = mRemoteDevice.mBTDevice;
        if (device == null) return;
        ProfileService.println(sb, "mCurrentDevice: " + device.getAddress() + "("
+2 −2
Original line number Diff line number Diff line
@@ -273,7 +273,7 @@ class PbapClientConnectionHandler extends Handler {

    /* Utilize SDP, if available, to create a socket connection over L2CAP, RFCOMM specified
     * channel, or RFCOMM default channel. */
    private boolean connectSocket() {
    private synchronized boolean connectSocket() {
        try {
            /* Use BluetoothSocket to connect */
            if (mPseRec == null) {
@@ -352,7 +352,7 @@ class PbapClientConnectionHandler extends Handler {
        this.getLooper().getThread().interrupt();
    }

    private void closeSocket() {
    private synchronized void closeSocket() {
        try {
            if (mSocket != null) {
                if (DBG) {