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

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

Merge "Configure Bluetooth profiles displayed in settings" am: 22e174a7 am:...

Merge "Configure Bluetooth profiles displayed in settings" am: 22e174a7 am: d8157846 am: ce0de370

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1424829

Change-Id: I20e984ecc8515928c4702077f31b51abee4d114c
parents 9d3a79fd ce0de370
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -543,12 +543,13 @@ public class LocalBluetoothProfileManager {
            mPbapProfile.setEnabled(device, true);
        }

        if (mMapClientProfile != null) {
        if ((mMapClientProfile != null)
                && BluetoothUuid.containsAnyUuid(uuids, MapClientProfile.UUIDS)) {
            profiles.add(mMapClientProfile);
            removedProfiles.remove(mMapClientProfile);
        }

        if ((mPbapClientProfile != null) && ArrayUtils.contains(localUuids, BluetoothUuid.PBAP_PCE)
        if ((mPbapClientProfile != null)
                && BluetoothUuid.containsAnyUuid(uuids, PbapClientProfile.SRC_UUIDS)) {
            profiles.add(mPbapClientProfile);
            removedProfiles.remove(mPbapClientProfile);
+0 −2
Original line number Diff line number Diff line
@@ -47,8 +47,6 @@ public final class MapClientProfile implements LocalBluetoothProfile {
    private final LocalBluetoothProfileManager mProfileManager;

    static final ParcelUuid[] UUIDS = {
        BluetoothUuid.MAP,
        BluetoothUuid.MNS,
        BluetoothUuid.MAS,
    };