Filter devices by UUID and then class.

The settings app has been updated to use UUIDs.
When there is a filter type set for device picket UI, use the
UUIDs first and then the class bits.

Change-Id: Ifde5dbc3a1cf25babce4c686002315aa3933de59
This commit is contained in:
Jaikumar Ganesh
2009-09-23 10:32:41 -07:00
parent 9045631186
commit 1bfe73d0b1
2 changed files with 46 additions and 21 deletions

View File

@@ -37,17 +37,17 @@ import java.util.Set;
public abstract class LocalBluetoothProfileManager {
private static final String TAG = "LocalBluetoothProfileManager";
private static final ParcelUuid[] HEADSET_PROFILE_UUIDS = new ParcelUuid[] {
/* package */ static final ParcelUuid[] HEADSET_PROFILE_UUIDS = new ParcelUuid[] {
BluetoothUuid.HSP,
BluetoothUuid.Handsfree,
};
private static final ParcelUuid[] A2DP_PROFILE_UUIDS = new ParcelUuid[] {
/* package */ static final ParcelUuid[] A2DP_PROFILE_UUIDS = new ParcelUuid[] {
BluetoothUuid.AudioSink,
BluetoothUuid.AdvAudioDist,
};
private static final ParcelUuid[] OPP_PROFILE_UUIDS = new ParcelUuid[] {
/* package */ static final ParcelUuid[] OPP_PROFILE_UUIDS = new ParcelUuid[] {
BluetoothUuid.ObexObjectPush
};