commit | fe9509ab80e66cf4ce066a220a44fccf0b64ba6f | [log] [tgz] |
---|---|---|
author | Xiao Ma <xiaom@google.com> | Mon Mar 16 13:29:54 2020 +0900 |
committer | Xiao Ma <xiaom@google.com> | Mon Mar 16 06:08:23 2020 +0000 |
tree | 22296eb2e1a27a1c55d9ca8b3f280541ba93479f | |
parent | a535e93e36f100e58b7240f08008cdf3d56c4012 [diff] |
Update method of getting ScanResult of current network. Noticed that ScanResult got from ScanDetailCache associated with provided BSSID would be null if forcing to forget and then reconnet to the wifi network. This would cause IpClient get null ScanResult. Update the method of getting ScanResult with a more robust way. Bug: 137835398 Test: atest FrameworksWifiTests Merged-In: I3ea5a301a9635248a2d121d9a6b7493cc6f430a6 Merged-In: Ifa6acff962cb915ddf69ac9ea80355bfb0fd4ffe Change-Id: If23b90235e1565a72aeec2398deebf8fef5597b7