commit | 9e877696a052e26d09b0fbe29b95a798408a96cd | [log] [tgz] |
---|---|---|
author | Roshan Pius <rpius@google.com> | Thu Oct 10 08:20:38 2019 -0700 |
committer | Roshan Pius <rpius@google.com> | Thu Oct 10 14:14:21 2019 -0700 |
tree | a7a43829b6288a64b842abac0c098f495f283c39 | |
parent | 799a1e5cd6e15d72e9620b6f6e24688f724de8f5 [diff] |
WifiScanningServiceImpl: Handle race on iface removal If there is a scan completion event as the iface is being removed, mScannerImpls will contain an empty list when trying to report the results. Return a scan failure instead because we can't fetch the real scan results since the iface is no longer there. Bug: 142469675 Test: atest com.android.server.wifi.scanner Change-Id: I673e7562196fdb9660e74c520478a10ad5d05e45