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

Commit f12cf7c2 authored by Henri Chataing's avatar Henri Chataing
Browse files

Flags 24Q4: Remove the flag a2dp_check_lea_iso_channel

Bug: 346475618
Test: m com.android.btservices
Flag: com.android.bluetooth.flags.a2dp_check_lea_iso_channel
Change-Id: I48f2cc9ce682d66c45185c96ab0d4cc5e4cba4a4
parent 0dc5c7c4
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -31,16 +31,6 @@ flag {
    }
}

flag {
    name: "a2dp_check_lea_iso_channel"
    namespace: "bluetooth"
    description: "Prevent A2DP stream from starting when LEA ISO channels are in use"
    bug: "346475618"
    metadata {
        purpose: PURPOSE_BUGFIX
    }
}

flag {
    name: "a2dp_variable_aac_capability"
    namespace: "bluetooth"
+1 −2
Original line number Diff line number Diff line
@@ -356,8 +356,7 @@ class A2dpStreamCallbacks : public bluetooth::audio::a2dp::StreamCallbacks {
    }

    // Check if LE Audio is currently active.
    if (com::android::bluetooth::flags::a2dp_check_lea_iso_channel() &&
        hci::IsoManager::GetInstance()->GetNumberOfActiveIso() > 0) {
    if (hci::IsoManager::GetInstance()->GetNumberOfActiveIso() > 0) {
      log::error("unable to start stream: LEA is active");
      return Status::FAILURE;
    }