diff options
| author | 2018-02-26 09:33:25 -0800 | |
|---|---|---|
| committer | 2018-02-26 09:33:25 -0800 | |
| commit | ffb49e3a60d9d3d3e1728c3607206398420234bc (patch) | |
| tree | d86dc269da2eb02e9121ca66d9bb27ed24ada661 | |
| parent | 0ec75beab7fd5ffb86cd8193eb77db9930b220e8 (diff) | |
[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
| -rw-r--r-- | wifi/java/android/net/wifi/RttManager.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/wifi/java/android/net/wifi/RttManager.java b/wifi/java/android/net/wifi/RttManager.java index b5273dd39c54..50c4b5eed508 100644 --- a/wifi/java/android/net/wifi/RttManager.java +++ b/wifi/java/android/net/wifi/RttManager.java @@ -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); } |