Merge "Configure Bluetooth profiles displayed in settings" into rvc-qpr-dev
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -47,8 +47,6 @@ public final class MapClientProfile implements LocalBluetoothProfile {
|
||||
private final LocalBluetoothProfileManager mProfileManager;
|
||||
|
||||
static final ParcelUuid[] UUIDS = {
|
||||
BluetoothUuid.MAP,
|
||||
BluetoothUuid.MNS,
|
||||
BluetoothUuid.MAS,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user