commit | 60a78b7cb9dcbe1cbe015943beba90e863bbfdbd | [log] [tgz] |
---|---|---|
author | David Su <dysu@google.com> | Mon Jun 08 22:31:51 2020 -0700 |
committer | David Su <dysu@google.com> | Mon Jun 08 22:31:51 2020 -0700 |
tree | 46053e9c1d2d2f4f67711a449821cfffd62a31bb | |
parent | 06174db579ff1e30825568b894e6172bc4b044fa [diff] |
Fix Wifi state not updated while connecting Wifi no longer updates ConnectivityService regarding Wifi state during a connection, so calling ConnectivityManager#getNetworkInfo returns an invalid state. Instead, simply call updateNetworkInfo(null), which will reuse the last NetworkInfo object, while updating the RSSI values. Bug: 150188453 Test: verified in SUW Change-Id: I0c5ebd8ebc07030e128ae913d81dbf56489239a2