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

Commit 26b25458 authored by Jack He's avatar Jack He Committed by android-build-merger
Browse files

Merge "PBAP: Close mServerSockets when shutting down service" am: 1d5c530e am: 2a87675a

am: 45ee058a

Change-Id: I77cd342ee570c55a635adeaf2e7487758c8c7646
parents 5a2167ef 45ee058a
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -444,6 +444,10 @@ public class BluetoothPbapService extends ProfileService implements IObexConnect

        closeConnectionSocket();
        closeServerSocket();
        if (mServerSockets != null) {
            mServerSockets.shutdown(false);
            mServerSockets = null;
        }
        if (mSessionStatusHandler != null) mSessionStatusHandler.removeCallbacksAndMessages(null);
        if (VERBOSE) Log.v(TAG, "Pbap Service closeService out");
    }