Reland "bluetooth/winrt: Observe discovery failures"
This reverts commit a361d30d. Reason for revert: Fixed test failure from crbug.com/1097635 Original change's description: > Revert "bluetooth/winrt: Observe discovery failures" > > This reverts commit e44abb7d. > > Reason for revert: Fails on Win DBG builder. > > Original change's description: > > bluetooth/winrt: Observe discovery failures > > > > Change BluetoothAdapterWinrt to subscribe to > > BluetoothLEAdvertisementWatcher::Stopped events. The event fires if > > scanning for LE advertisements has been cancelled by the application or > > due to an error. Once the event is received, mark all active > > BluetoothDiscoverySession instances inactive, which will cause > > BluetoothAdapter::IsDiscovering() to return false. > > > > Also make BluetoothAdapterWinrt call Observer::DiscoveringChanged(). > > > > Change-Id: If4abf65f09b4d20b89b53adb63dad89939ddcceb > > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2255549 > > Commit-Queue: Martin Kreichgauer <martinkr@google.com> > > Commit-Queue: Martin Kreichgauer <martinkr@chromium.org> > > Reviewed-by: Reilly Grant <reillyg@chromium.org> > > Cr-Commit-Position: refs/heads/master@{#780539} > > TBR=reillyg@chromium.org,martinkr@chromium.org > BUG: 1097635 > # Not skipping CQ checks because original CL landed > 1 day ago. > > Change-Id: I5b2e012bee60c94d735f95aa49cf90db2adff016 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2255946 > Reviewed-by: Fergal Daly <fergal@chromium.org> > Commit-Queue: Fergal Daly <fergal@chromium.org> > Cr-Commit-Position: refs/heads/master@{#780660} TBR=reillyg@chromium.org,martinkr@google.com,fergal@chromium.org,martinkr@chromium.org # Not skipping CQ checks because this is a reland. Change-Id: Ia924fe22558e323d4b56813ec8018de228e5a36d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2257564Reviewed-by:Reilly Grant <reillyg@chromium.org> Commit-Queue: Martin Kreichgauer <martinkr@google.com> Cr-Commit-Position: refs/heads/master@{#781940}
Showing
Please register or sign in to comment