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

Commit a6cd7cc2 authored by Jack He's avatar Jack He
Browse files

bitf_dm: Re-add accidentally deleted btif_update_remote_properties

The line was accidentally deleted in dead code removal in I244a570babaec03592cecdbf098beb10c8b80f69

Bug: 337014630
Bug: 330675788
Test: m -j85
Test: pts-bot SM#SM/CEN/SCCT/BV-05-C and pts-bot SM#SM/CEN/SCCT/BV-03-C
Change-Id: I835e2da15ab52dc512de024be45cbd63ef10a8d8
parent b369d268
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -3841,6 +3841,10 @@ static void btif_dm_ble_key_nc_req_evt(tBTA_DM_SP_KEY_NOTIF* p_notif_req) {
  RawAddress bd_addr = p_notif_req->bd_addr;
  log::verbose("addr:{}", bd_addr);

  /* Remote name update */
  btif_update_remote_properties(p_notif_req->bd_addr, p_notif_req->bd_name,
                                kDevClassEmpty, BT_DEVICE_TYPE_BLE);

  bond_state_changed(BT_STATUS_SUCCESS, bd_addr, BT_BOND_STATE_BONDING);
  pairing_cb.is_ssp = false;
  pairing_cb.is_le_only = true;