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

Commit 9bb9aa3c authored by William Escande's avatar William Escande Committed by Gerrit Code Review
Browse files

Merge "Remove reset_after_collision flag" into main

parents a9a0304f ff4b0d6d
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -39,16 +39,6 @@ flag {
    }
}

flag {
    name: "reset_after_collision"
    namespace: "bluetooth"
    description: "Reset p_scb when collision occurred and rfcomm is not opened yet"
    bug: "332324315"
    metadata {
        purpose: PURPOSE_BUGFIX
    }
}

flag {
    name: "sink_audio_policy_handover"
    namespace: "bluetooth"
+1 −1
Original line number Diff line number Diff line
@@ -594,7 +594,7 @@ void bta_ag_rfc_acp_open(tBTA_AG_SCB* p_scb, const tBTA_AG_DATA& data) {
          log::warn("RFCOMM_RemoveConnection failed for {}, handle {}, error {}", dev_addr,
                    ag_scb.conn_handle, status);
        }
      } else if (com::android::bluetooth::flags::reset_after_collision()) {
      } else {
        // As no existing outgoing rfcomm connection, then manual reset current
        // state, and use the incoming one
        bta_ag_rfc_fail(&ag_scb, tBTA_AG_DATA::kEmpty);