commit | 807daf9f5bc4b15f191279136cc5c97bd39135b5 | [log] [tgz] |
---|---|---|
author | Ani Ramakrishnan <aniramakri@fuchsia.infra.roller.google.com> | Mon Nov 06 18:59:40 2023 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Nov 06 11:01:16 2023 -0800 |
tree | 543921a238251ac57fead49fd0f806d13a97fb5b | |
parent | e68356c351d5dedb0619c1dfde4ef69e958cf22b [diff] |
[roll] Roll fuchsia [bt][a2dp] Suspend stream if permit gets taken during setup The starting of an A2DP stream is a multi-step asynchronous operation. In some cases during the setup of A2DP audio, HFP audio can be requested and will take priority by seizing A2DP's streaming permits. Update A2DP to be resilient to this case by checking for the validity of the permit before starting the local A2DP stream. If the permit is unavailable, don't start the local stream and issue a subsequent Suspend to synchroize the streaming state with the remote peer. Add a unit test which reproduces this case and fails in the current implementation. Original-Bug: b/306661742 Test: fx test bt-a2dp-lib-test Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/939982 Original-Revision: 5328595cfd5f35d4d407de93493b289b894706ea GitOrigin-RevId: e8e107e6bc88c823a5d3a8285b9fa2db89082b11 Change-Id: If057bb7b2cdae0f0c2bc7709e12b939628162793
This repository contains Fuchsia's Global Integration manifest files.
All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.
Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia
on Freenode.
First install Jiri.
Next run:
$ jiri init $ jiri import minimal https://fuchsia.googlesource.com/integration $ jiri update
Third party projects should have their own subdirectory in ./third_party
.