commit | 06097aa3817636c89c1e6d1f4bda62f5ea797cf8 | [log] [tgz] |
---|---|---|
author | Adam Langley <agl@chromium.org> | Mon Aug 09 20:58:38 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Aug 09 20:58:38 2021 |
tree | 9903c8fc2188a58c964e259db29a04f7f9c34e79 | |
parent | 0ae99d7fc4c95f92ea95cd76d81c4bd7e3f05347 [diff] |
webauthn: use different method for getting device name. In Android 12, reading the Bluetooth name requires the BLUETOOTH_CONNECT permission. Additionally, rather than just returning null when its not available, Android kills the process. Therefore try reading the device name from Settings. It's harmless if it fails because we have a reasonable fallback. (This only affects QR-linking, which is not launched.) BUG=1237223 Change-Id: Ifc389b47076a5750a4c886155b4b8c566cf74dda Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3078887 Commit-Queue: Martin Kreichgauer <martinkr@google.com> Auto-Submit: Adam Langley <agl@chromium.org> Reviewed-by: Martin Kreichgauer <martinkr@google.com> Cr-Commit-Position: refs/heads/master@{#909969}
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.