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

Commit b130b653 authored by Eric Shih's avatar Eric Shih
Browse files

Fix typo of getting sdp_feature in hf_client

The swb feature works normally in current codebase. Fix the typo should
also not to affect the behavior.

Bug: 353904971
Test: atest BtifHfClientTest
Flag: Exempt, fix typo
Change-Id: I179dca2fc4c5849d1a897fe5f61ce19ce0f4853e
parent 192e0291
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -170,7 +170,7 @@ bool bta_hf_client_add_record(const char* p_service_name, uint8_t scn, tBTA_HF_C

  /* Support swb */
  if (features & BTA_HF_CLIENT_FEAT_SWB) {
    features |= BTA_HF_CLIENT_FEAT_SWB_SUPPORT;
    sdp_features |= BTA_HF_CLIENT_FEAT_SWB_SUPPORT;
  }

  UINT16_TO_BE_FIELD(buf, sdp_features);