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

Commit 35b99048 authored by Chienyuan's avatar Chienyuan Committed by android-build-merger
Browse files

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

am: 87bd082e

Change-Id: I7ac82e653c9d5f4da4fb1536727e521305466d34
parents cd09028c 87bd082e
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();