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

Commit ce818a1c authored by Sonny Sasaka's avatar Sonny Sasaka
Browse files

Floss: Fix bug of missing monitor_handle

Adding missing change from https://r.android.com/q/3dca872562. When
converting AdvertisingTrackInfo to Rust, we need to copy the new field
monitor_handle.

Bug: 268682529
Tag: #floss
Test: Manual - Test Floss on Chrome OS with Fast Pair

Change-Id: I28c1f293537d50c71e041e63b2b33bb5b2479c43
parent 5f4fe2db
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -172,6 +172,7 @@ void BleScannerIntf::OnScanResult(

void BleScannerIntf::OnTrackAdvFoundLost(AdvertisingTrackInfo ati) {
  rusty::RustAdvertisingTrackInfo rust_info = {
      .monitor_handle = ati.monitor_handle,
      .scanner_id = ati.scanner_id,
      .filter_index = ati.filter_index,
      .advertiser_state = ati.advertiser_state,