summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorSundeep Ghuman <sghuman@google.com>2017-07-05 14:19:30 -0700
committerSundeep Ghuman <sghuman@google.com>2017-07-06 14:03:43 -0700
commitbd5410fa4845b9975e8544071d5e590adf5db0f0 (patch)
tree3f9f0d8edadcf324b4044c19667d4c4281c63b6c /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parentb00b97631656c4e86e1fb52ecb0f4b8f1b11dfc9 (diff)
Change initial value of mStaleScanResults to false.
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 true 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 false, 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: I82ff8d6c547f1bec4ebfe9b768e6b12435a400ee
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions