diff options
author | Glen Kuhne <kuh@google.com> | 2017-07-19 14:53:34 -0700 |
---|---|---|
committer | Glen Kuhne <kuh@google.com> | 2017-07-20 19:11:59 +0000 |
commit | d38708c1ab1bad1dd2e811204e21a76e33a69182 (patch) | |
tree | 859688a8458e6115ca5d08ec31533af55ae1d22f /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 40f47253fdf224366f56a29875a0e8cfe9292962 (diff) |
Don't set AccessPoint with WifiInfo.INVALID_RSSI
This stops the RSSI of an AccessPoint object being updated from WifiInfo
for the current network, when that WifiInfo does not have a valid RSSI.
This occurs when attempting to connect to a network, and the connection
has not yet been established.
Fixes a UI bug where the signal strength would appear to be zero when
attempting to connect to something, or after failing to.
Bug: 63487286
Test: runtest --path
frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/AccessPointTest.java
Test: Manual. Attempt to connect to network with bad PSK. Observe Signal
strength does not get set to zero.
Change-Id: Ia5343fb6f0935134e6a4f82034de164342fe55d4
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions