commit | 396e52d5f61cafba5d708b1f3a77c45d7612c0a8 | [log] [tgz] |
---|---|---|
author | jackqdyulei <jackqdyulei@google.com> | Wed Sep 19 17:28:27 2018 -0700 |
committer | jackqdyulei <jackqdyulei@google.com> | Thu Sep 20 14:58:20 2018 -0700 |
tree | 9075991545916b8c1fed104d6478c8d9480c75d1 | |
parent | d2b1a57093f437d33b5b814df5da03ed317399b8 [diff] |
Always evict old scanResults(> 15s) in WifiTracker When fragment is created, it will force display all the APs from mWifiManager.getScanResults, where it may have obsolete APs. This CL will evict old scanResults even in this force display, so it won't show obsolete APs anymore. Also change the buffer size from 25s to 15s so it only display APs scanned in last 15s. Bug: 111738605 Test: SettingsUnitTests Change-Id: I9413bcba81dba55c6b13cfdca2785069d4d7d105