Loading flags/leaudio.aconfig +0 −7 Original line number Diff line number Diff line Loading @@ -66,13 +66,6 @@ flag { bug: "316005152" } flag { name: "le_audio_dev_type_detection_fix" namespace: "bluetooth" description: "Better LE Audio devices detection" bug: "319511584" } flag { name: "metadata_api_inactive_audio_device_upon_connection" is_exported: true Loading system/btif/src/btif_dm.cc +1 −2 Original line number Diff line number Diff line Loading @@ -762,8 +762,7 @@ bool is_device_le_audio_capable(const RawAddress bd_addr) { /* First try reading device type from BTIF - it persists over multiple * inquiry sessions */ int dev_type = 0; if (com::android::bluetooth::flags::le_audio_dev_type_detection_fix() && (btif_get_device_type(bd_addr, &dev_type) && if ((btif_get_device_type(bd_addr, &dev_type) && (dev_type & BT_DEVICE_TYPE_BLE) == BT_DEVICE_TYPE_BLE)) { /* LE Audio capable device is discoverable over both LE and Classic using * same address. Prefer to use LE transport, as we don't know if it can do Loading Loading
flags/leaudio.aconfig +0 −7 Original line number Diff line number Diff line Loading @@ -66,13 +66,6 @@ flag { bug: "316005152" } flag { name: "le_audio_dev_type_detection_fix" namespace: "bluetooth" description: "Better LE Audio devices detection" bug: "319511584" } flag { name: "metadata_api_inactive_audio_device_upon_connection" is_exported: true Loading
system/btif/src/btif_dm.cc +1 −2 Original line number Diff line number Diff line Loading @@ -762,8 +762,7 @@ bool is_device_le_audio_capable(const RawAddress bd_addr) { /* First try reading device type from BTIF - it persists over multiple * inquiry sessions */ int dev_type = 0; if (com::android::bluetooth::flags::le_audio_dev_type_detection_fix() && (btif_get_device_type(bd_addr, &dev_type) && if ((btif_get_device_type(bd_addr, &dev_type) && (dev_type & BT_DEVICE_TYPE_BLE) == BT_DEVICE_TYPE_BLE)) { /* LE Audio capable device is discoverable over both LE and Classic using * same address. Prefer to use LE transport, as we don't know if it can do Loading