summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorSundeep Ghuman <sghuman@google.com>2017-07-05 14:19:30 -0700
committerSundeep Ghuman <sghuman@google.com>2017-07-07 17:50:44 -0700
commitd2b84a8229c45495647e8d67088e64bc3ba735f5 (patch)
treeac29de284347db25ee7585c153a8aeb9d9287263 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parent96decad236f8da82d916e4c5c57ae7d889ed60f8 (diff)
Change initial value of mStaleScanResults to true.
In ag/2409026 we introduced a stale scan result bit to prevent callbacks from sticky broadcasts from occuring until we have fetched the latest set of scan results. However, this initial value was set to false hence there is a race condition in which the currently connected network can still be shown without any other networks, as the scan results have not yet been processed. By changing the initial value to true, we address this race condition. Bug: b/62493360 Test: runtest --path frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/WifiTrackerTest.java Change-Id: I5f2108e17d2c549e2176ccf64e640fbd4808b5f1
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions