commit | 1b40e074bc89d89b034bcf8129908dd8aa939654 | [log] [tgz] |
---|---|---|
author | Ashley Newson <ashleynewson@chromium.org> | Fri Nov 15 18:53:00 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Nov 15 18:53:00 2024 |
tree | 374eb18ccee10955f2ca60e3b9f8b186bcd1cc8b | |
parent | 8799e49ae318524e9f7f864fb1d3aff451d0e16c [diff] |
Catch SecurityException for requestAudioFocus Android platform bugs can result in calls to android.media.AudioManager.requestAudioFocus throwing SecurityException in specific situations. Pretend that these failure cases were successful grants in order to both avoid crashes and allow media to play. Bug: 379119532 Change-Id: I148ee1d26e13fb169d9059eb9ac916ab0d8191c3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6020926 Commit-Queue: Ashley Newson <ashleynewson@chromium.org> Reviewed-by: Tommy Steimel <steimel@chromium.org> Cr-Commit-Position: refs/heads/main@{#1383732}
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.