summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorSundeep Ghuman <sghuman@google.com>2017-06-15 17:55:21 -0700
committerSundeep Ghuman <sghuman@google.com>2017-06-15 17:55:21 -0700
commit2412817201a39340f8f91b873fb0d1dddf3feb88 (patch)
tree7894bf132574c4f10b24aff0ca0f0690509310f6 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent627fbf8157469c29b90fe0160d64053e6776bd64 (diff)
APs from old scans should not have RSSI values set.
This change creates parity between 'initWithScanResult' and 'update(ScanResult)' so that RSSIs are set similarly. This avoids an edge case problem when starting WifiSettings and only having very old scan results available (eg, coming from a screen off state), in which the old APs would have been shown and then instantly removed due to a sequential WifiTracker call to update the APs based on sticky broadcasts. Otherwise worded, creating an AP with a scan result and then instantly updating it with that same scan result would drastically change the state of the AccessPoint object. Bug: b/38212080 Test: With old scan results in the scanner (screen off more than 15 seconds), start wifi settings. Old APs should not be shown and then instantly removed. Change-Id: Ida13713dc115ba04882a7651eab4ebfd5cccbe7c
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions