commit | dc778ef2640dfd02ee7a896b92cd72e8f6d5cdf1 | [log] [tgz] |
---|---|---|
author | Abhishek Pandit-Subedi <abhishekpandit@google.com> | Tue Mar 07 18:55:33 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Mar 07 18:55:33 2023 |
tree | 56961544a5af00aa90f9e8699eed47436c3cb2c7 | |
parent | d45c23691aacbb561a48e32a9a91e8a260491e05 [diff] |
arc: Handle missing characteristic and permissions Updates WriteGattCharacteristic to check if the characteristic exists before writing to it. Currently, this is only protected via a DCHECK. Also removes all permission checks when reading and writing remote characteristics and descriptors. According to the Bluetooth Core Spec, Vol 3, Part F, 3.2.5, the permission values cannot be discovered via ATT so most implementations will just return 0. BUG=b:270385079 TEST=out/Default/unit_tests --gtest_filter="ArcBluetoothBridgeTest.*" Change-Id: Ie4a8068d6e29f19ab9a58b55b6babf000a0b7773 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4311090 Reviewed-by: Gordon Seto <gordonseto@google.com> Reviewed-by: Sonny Sasaka <sonnysasaka@chromium.org> Commit-Queue: Abhishek Pandit-Subedi <abhishekpandit@google.com> Cr-Commit-Position: refs/heads/main@{#1114080}
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.