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:45:57 -0700
commita580215fc3138578f05ba5ecf9695ef09b18c762 (patch)
tree32460dab0a64b15449511a14c4389a760bcead6e /tools/aapt2/java/JavaClassGenerator.cpp
parent91866c65a5c30f2f9af6c0ca9604bd477ff68627 (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 Merged-In: Ia6d79c1904294da69841cbdf6eafbf42fa70f2d0
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions