diff options
author | Sundeep Ghuman <sghuman@google.com> | 2017-03-08 19:52:05 -0800 |
---|---|---|
committer | Sundeep Ghuman <sghuman@google.com> | 2017-03-14 15:43:17 -0700 |
commit | 54bdcfa08180a69b852c8f71b39d30f0061ce6ff (patch) | |
tree | 683de744b03559098e00dade179be815f3d21a8b /docs/html/sdk/api_diff/24/changes | |
parent | dc6cf4b683c6b8af678dc7f50c069879013f9fa5 (diff) |
Consolidate getRssi logic to return mRssi.
Changed previous getRssi method to updateeRssi in order to clarify
process, and also changed logic to return current mRssi when the given
AP is active. mRssi is set directly from WifiInfo for active networks.
For non-active networks we return the highest Rssi for any recently seen
BSSID (multiple APs with the same SSID are grouped together).
Change getSeen to updateSeen for consistency, although seen is never
used anywhere.
Also fixes b/34889252.
Bug: b/36077865
Test: runtest --path
frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/AccessPointTest.java
Change-Id: Ic52df41b8eb317e83d835c745b404007a53cf5d7
Diffstat (limited to 'docs/html/sdk/api_diff/24/changes')
0 files changed, 0 insertions, 0 deletions