Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[QuickStart] Defer StartAdvertising if BT adapter not ready
TargetDeviceConnectionBroker::StartAdvertising() is getting called before the FeatureSupportStatus is kSupported, causing a CHECK to fail. In this case, defer StartAdvertising() until after the adapter is initialized. TEST=Manually confirmed that the Quick Start screen no longer crashes, and added unit test to check for correct behavior before BT is initialized. Bug: None Change-Id: I317eb96f1350a183aa654aa3e057c487462624d8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3803418 Reviewed-by: Michael Hansen <hansenmichael@google.com> Commit-Queue: Curt Clemens <cclem@google.com> Reviewed-by: Brittany Hartmire <bhartmire@google.com> Cr-Commit-Position: refs/heads/main@{#1031620}
- Loading branch information
Curt Clemens
authored and
Chromium LUCI CQ
committed
Aug 4, 2022
1 parent
88591ea
commit 8e8c369
Showing
3 changed files
with
168 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters