Revert "Do not report scan aborted event"
SCAN_FAILED event should not be blamed for b/36231150 after investigation. Revert this change.
This reverts commit 7334e2f90be2a8cab17c913a88d850c7b9c408fb.
Change-Id: I00bbc8b29b49774f31f054406c11cceee71a8aef
diff --git a/scanning/scanner_impl.cpp b/scanning/scanner_impl.cpp
index ea56e74..0fa5165 100644
--- a/scanning/scanner_impl.cpp
+++ b/scanning/scanner_impl.cpp
@@ -335,9 +335,7 @@
// TODO: Pass other parameters back once we find framework needs them.
if (aborted) {
LOG(WARNING) << "Scan aborted";
- // TODO(b/36231150): Only plumb through scan aborted event when
- // we make sure WificondScanner.java won't cause a tight loop.
- // scan_event_handler_->OnScanFailed();
+ scan_event_handler_->OnScanFailed();
} else {
scan_event_handler_->OnScanResultReady();
}