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

Commit 0ce46f6c authored by Thomas Girardier's avatar Thomas Girardier Committed by Automerger Merge Worker
Browse files

Merge "Fix upper (framework) can not get RC's name or other properties" am:...

Merge "Fix upper (framework) can not get RC's name or other properties" am: 460b8a66 am: 15add121 am: 00a493d1 am: b8675b2a am: 07a68ed4

Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/2316520



Change-Id: I976307dd802a0558e085c61f056434204fb22cf2
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 548f7063 07a68ed4
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -124,7 +124,7 @@ void bta_scan_results_cb_impl(RawAddress bd_addr, tBT_DEVICE_TYPE device_type,
        value, HCI_EIR_SHORTENED_LOCAL_NAME_TYPE, &remote_name_len);
        value, HCI_EIR_SHORTENED_LOCAL_NAME_TYPE, &remote_name_len);
  }
  }


  if ((addr_type != BLE_ADDR_RANDOM) || (p_eir_remote_name)) {
  if (p_eir_remote_name) {
    if (!btif_address_cache_find(bd_addr)) {
    if (!btif_address_cache_find(bd_addr)) {
      btif_address_cache_add(bd_addr, addr_type);
      btif_address_cache_add(bd_addr, addr_type);


+1 −1
Original line number Original line Diff line number Diff line
@@ -758,7 +758,7 @@ void BleScannerInterfaceImpl::handle_remote_properties(
  }
  }


  // update device name
  // update device name
  if ((addr_type != BLE_ADDR_RANDOM) || (p_eir_remote_name)) {
  if (p_eir_remote_name) {
    if (!address_cache_.find(bd_addr)) {
    if (!address_cache_.find(bd_addr)) {
      address_cache_.add(bd_addr);
      address_cache_.add(bd_addr);