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

Commit 6fea8165 authored by Josh Wu's avatar Josh Wu
Browse files

[HFP Client] Check peer HF indicator supported flag

Bug: 339610138
Test: atest avatar
Flag: EXEMPT change only for hf cilent BIEV issue fix, no extra business logic.
Change-Id: Ie6ce08e7ffb6f2cf08e7732e733b1cb2155a920f
parent 2d8674ee
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1913,7 +1913,7 @@ void bta_hf_client_send_at_biev(tBTA_HF_CLIENT_CB* client_cb, int indicator_id,
  char buf[32];
  tBTA_HF_CLIENT_AT_CMD cmd = BTA_HF_CLIENT_AT_BIEV;

  if ((client_cb->peer_features & BTA_HF_CLIENT_FEAT_HF_IND) == 0) {
  if ((client_cb->peer_features & BTA_HF_CLIENT_PEER_HF_IND) == 0) {
    log::error("peer does not support HF Indicators");
    return;
  }