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

Commit f21108f0 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: efc8007b

am: 8aaa57eb

Change-Id: I500f85e91c0aa6eaadcc3f3e30bece3ae0b135da
parents 04456a45 8aaa57eb
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);