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

Commit 05c71fe7 authored by Chienyuan's avatar Chienyuan Committed by android-build-merger
Browse files

Merge "Add SapProfile to LocalBluetoothProfileManager (2/2)"

am: 7e77a490

Change-Id: I7ac82e653c9d5f4da4fb1536727e521305466d34
parents 150f9b15 7e77a490
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -539,7 +539,7 @@ public class SapService extends ProfileService {
    public boolean disconnect(BluetoothDevice device) {
        boolean result = false;
        synchronized (SapService.this) {
            if (getRemoteDevice().equals(device)) {
            if (mRemoteDevice != null && mRemoteDevice.equals(device)) {
                switch (mState) {
                    case BluetoothSap.STATE_CONNECTED:
                        closeConnectionSocket();