Add ability to connect to only headset profile.
Fix some SDP records issues. Change-Id: I42816527b1ae0749b4b59b7947f1acb9d2e6f001
This commit is contained in:
@@ -589,7 +589,11 @@ public class CachedBluetoothDevice implements Comparable<CachedBluetoothDevice>
|
||||
ParcelUuid[] uuids = mDevice.getUuids();
|
||||
if (uuids == null) return false;
|
||||
|
||||
LocalBluetoothProfileManager.updateProfiles(uuids, mProfiles);
|
||||
BluetoothAdapter adapter = mLocalManager.getBluetoothAdapter();
|
||||
ParcelUuid[] localUuids = adapter.getUuids();
|
||||
if (localUuids == null) return false;
|
||||
|
||||
LocalBluetoothProfileManager.updateProfiles(uuids, localUuids, mProfiles);
|
||||
|
||||
if (DEBUG) {
|
||||
Log.e(TAG, "updating profiles for " + mDevice.getName());
|
||||
|
||||
Reference in New Issue
Block a user