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

Commit 060b6d09 authored by Pavlin Radoslavov's avatar Pavlin Radoslavov Committed by android-build-merger
Browse files

Merge "Add a missing check for null pointer during closing of PBAP Service" am: e061ac9d

am: 90225e0a

Change-Id: I500f85e91c0aa6eaadcc3f3e30bece3ae0b135da
parents 741b86af 90225e0a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -505,7 +505,7 @@ public class BluetoothPbapService extends ProfileService implements IObexConnect

        // Last obex transaction is finished, we start to listen for incoming
        // connection again
        if (mAdapter.isEnabled()) {
        if (mAdapter != null && mAdapter.isEnabled()) {
            startSocketListeners();
        }
        setState(BluetoothPbap.STATE_DISCONNECTED);