summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorSundeep Ghuman <sghuman@google.com>2017-08-07 11:21:38 -0700
committerSundeep Ghuman <sghuman@google.com>2017-08-08 09:30:22 -0700
commitd1e449267a68220e84c45065ed0d6eb8fe393ed0 (patch)
tree44417c86609f3ddaa18da30f36709d9a150bbf9f /tools/aapt2/java/JavaClassGenerator.cpp
parentc209e50d67fba23b7f2d860879e0242defec6cc3 (diff)
Refactor WifiTracker sStaleScanResults.
In ag/2580164, in order to minimize changes, we used mutable static state in WifiTracker to control cache eviction. This breaks a certain flow in SetupWizard. This change reverts sStaleScanResults to an instance member and then pipes the value into the AccessPoint update call to control cache eviction instead of relying on error prone use of mutable static state. Bug: 63479352 Test: 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 Manual: See bug Change-Id: Ia6d79c1904294da69841cbdf6eafbf42fa70f2d0
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions