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

Commit 9bac7cb3 authored by Andre Eisenbach's avatar Andre Eisenbach Committed by android-build-merger
Browse files

Add security record for devices found through LE batch scan

am: 82598228

Change-Id: I361aef8e79a9ef470b7e38bc71a30cf9104fa09f
parents 3bd8125e 82598228
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -123,6 +123,10 @@ void btm_ble_batchscan_filter_track_adv_vse_cback(UINT8 len, UINT8 *p)

        BTM_TRACE_EVENT("track_adv_vse_cback called: %d, %d, %d", adv_data.filt_index,
                         adv_data.addr_type, adv_data.advertiser_state);

        // Make sure the device is known
        BTM_SecAddBleDevice(adv_data.bd_addr.address, NULL, BT_DEVICE_TYPE_BLE, adv_data.addr_type);

        ble_advtrack_cb.p_track_cback(&adv_data);
        return;
    }