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

Commit f8501da3 authored by Alex Stetson's avatar Alex Stetson Committed by Android (Google) Code Review
Browse files

Merge "Configure Bluetooth profiles displayed in settings" into rvc-qpr-dev

parents f0bd7906 e4dc456d
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,
    };