system/connectivity/wificond
Révision | 7334e2f90be2a8cab17c913a88d850c7b9c408fb (tree) |
---|---|
l'heure | 2017-03-16 02:35:09 |
Auteur | Ningyuan Wang <nywang@goog...> |
Commiter | Ningyuan Wang |
Do not report scan aborted event
Bug: 36231150
Test: compile, unit tests
Change-Id: I67bb801014942efa777eab22de5a82f2ca71869b
@@ -330,7 +330,9 @@ void ScannerImpl::OnScanResultsReady( | ||
330 | 330 | // TODO: Pass other parameters back once we find framework needs them. |
331 | 331 | if (aborted) { |
332 | 332 | LOG(WARNING) << "Scan aborted"; |
333 | - scan_event_handler_->OnScanFailed(); | |
333 | + // TODO(b/36231150): Only plumb through scan aborted event when | |
334 | + // we make sure WificondScanner.java won't cause a tight loop. | |
335 | + // scan_event_handler_->OnScanFailed(); | |
334 | 336 | } else { |
335 | 337 | scan_event_handler_->OnScanResultReady(); |
336 | 338 | } |