Skip to content
Commit 396e52d5 authored by jackqdyulei's avatar jackqdyulei
Browse files

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
parent d2b1a570
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment