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

Commit ffb49e3a authored by Etan Cohen's avatar Etan Cohen
Browse files

[RTT] Fix legacy RTT API

Legacy RTT APIs wrap around the new RTT API. The translation of
results from new to legacy APIs allocated the full number of
results - but only filled-in one of the results - the others
were left null.

Bug: 73884773
Test: RangeApSupporting11McTest:test_legacy_rtt_80211mc_supporting_aps
passes with multiple APs

Change-Id: Id5ec70de272868d92154bdca9eee1d398c3a1801
parent 0ec75bea
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -999,6 +999,7 @@ public class RttManager {
                            // just in case legacy API needed some relatively real timestamp
                            legacyResults[i].ts = SystemClock.elapsedRealtime() * 1000;
                        }
                        i++;
                    }
                    listener.onSuccess(legacyResults);
                }