commit | fc6737a592ea52f90ecdfd1cd968e64bc284d11d | [log] [tgz] |
---|---|---|
author | Alvin Ji <alvinji@chromium.org> | Fri May 06 22:48:23 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri May 06 22:48:23 2022 |
tree | d93ed9886f85df3a0bc4888a70cde51d56627431 | |
parent | 3bd976c026c8130360dfce89400fe904aed33145 [diff] |
bluetooth: Dismiss chooser when notification shade opened Cancel event for Web Bluetooth/WebUSB chooser dialog is not fired while user swipe down quick settings. In that case the discovery continues running behind. The fix here is to change event listener from Cancel to Dismiss which is guaranteed to invoke |onItemSelectied| and |finishDialog|. Tested the change for WebBluetooth/WebUSB |requestDevices| and now both will reject promise with exception by swipe down menu. Bug: 1095574 Change-Id: If949ad55a4d3ddbafc22179ea30a82aff6682862 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3624959 Reviewed-by: Reilly Grant <reillyg@chromium.org> Commit-Queue: Alvin Ji <alvinji@chromium.org> Reviewed-by: Balazs Engedy <engedy@chromium.org> Cr-Commit-Position: refs/heads/main@{#1000589}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.