commit | bc09aaf07373634a56bef56b7876df847d7a5436 | [log] [tgz] |
---|---|---|
author | howardchung <[email protected]> | Thu Aug 07 00:22:09 2025 |
committer | Chromium LUCI CQ <[email protected]> | Thu Aug 07 00:22:09 2025 |
tree | aee5cb76c64785168c4fb2b022655820fed122eb | |
parent | fa67cdc94b080c35f70bc7ca7624ebeadc7aaa8c [diff] |
Add protection to prevent crash when refreshing battery info The current implementation uses the vid/pid as a key to match an input device with a Bluetooth device. This can lead to a device mismatch, where the system attempts to read battery information from a Bluetooth device that lacks it, causing a crash. This change adds protective code to prevent the crash until a more robust device-matching approach is adopted. Bug: 435054249 Change-Id: Ibf331f5f7b34a4c19041210a818e86c15f98ebb1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6817843 Reviewed-by: David Padlipsky <[email protected]> Commit-Queue: Yun-hao Chung <[email protected]> Reviewed-by: Jimmy Gong <[email protected]> Cr-Commit-Position: refs/heads/main@{#1497942}
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.