diff options
author | Sundeep Ghuman <sghuman@google.com> | 2017-06-07 18:11:39 -0700 |
---|---|---|
committer | Sundeep Ghuman <sghuman@google.com> | 2017-06-14 15:01:47 -0700 |
commit | d4a79acdfa6565279c772eba944fb72abec83dc3 (patch) | |
tree | 651f87448f9f1bfa1588254ae13550760c9618a5 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 68a4c91bb4e45aa9f2d1b2e3f4c6fe2119b6c625 (diff) |
Create a staleScanResults bit.
This bit is set to true during stop tracking and will not change until
fresh scan results come in. This bit is used to prevent
onAccessPointsChanged callbacks from being invoked until other new scan
results are processed.
This is necessary to fix a UI issue in WifiSettings during app
resumption where sticky broadcasts from other intents come in before
a new scan result is available, causing us to clear out all shown APs
since the ScanResults are stale and thus removed from the picker.
Bug: b/38212080
Test: runtest --path
frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/WifiTrackerTest.java
Change-Id: I2f1fd84d1ab3461d9c8eac9511b90ba7533879c1
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions