summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorSundeep Ghuman <sghuman@google.com>2018-01-23 19:18:31 -0800
committerSundeep Ghuman <sghuman@google.com>2018-01-26 09:24:45 -0800
commit04f7f34a713062ec3fd54a4c19481e9f76819899 (patch)
tree20257e79cc0e22f27e931f9529e2b8f6f7ae4ca9 /tools/aapt2/java/JavaClassGenerator.cpp
parentaa31e19ae1189f022b22d7de17e93e10516f80da (diff)
Remove double cache eviction logic.
WifiTracker and AccessPoint both maintain their own caches of ScanResults and dictate their own grouping logic. This leads to various issues, such as dropping APs during network selection. Remove the double cache eviction logic, making WifiTracker the source of truth for evicting and grouping ScanResults. Consolidate on AccessPoint time based eviction logic. In place swap of logic, with subsequent wifi tracker clean up and cache rekeying to follow in later CLs. Logic was left as close to original location for reviewer ease and will be rearranged in following CLs. Moves existing key generation logic from AccessPointPreference into AccessPoint.java BUG: 64989100 Test: runtest runtest --path frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/AccessPointTest.java runtest --path frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/WifiTrackerTest.java make RunSettingsLibRoboTests make RunSettingsRoboTests Manual inspection of WifiSettings jitter when changing networks / moving across floors. Change-Id: Id30a34b08e14fc8da2c9d29dfcb5d1e8973cc18c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions