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

Commit afa5bdbf authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Add Sap service into disconnect all enabled profiles process" am: 4c3e0a88 am: 26f82fe7

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Bluetooth/+/1641781

Change-Id: Iadc2220ff6af699548bb19557766012f33de7b5b
parents e67400ad 26f82fe7
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -2714,6 +2714,11 @@ public class AdapterService extends Service {
            Log.i(TAG, "disconnectAllEnabledProfiles: Disconnecting Hearing Aid Profile");
            mHearingAidService.disconnect(device);
        }
        if (mSapService != null && mSapService.getConnectionState(device)
                == BluetoothProfile.STATE_CONNECTED) {
            Log.i(TAG, "disconnectAllEnabledProfiles: Disconnecting Sap Profile");
            mSapService.disconnect(device);
        }

        return true;
    }