Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d9653bdb authored by Andy Hung's avatar Andy Hung
Browse files

audio_hw: Check if usb device is removed before opening stream

This fixes a fast insert-removal race condition when the
usb device is removed right before it is opened by AudioFlinger.

Test: dedicated HAL failure config, plug/unplug usb.
Bug: 64043790
Bug: 64090435
Change-Id: Ie5c8e9c7f7f0bc1c7dc2ee20838d6287275e0b1b
parent f07d6b39
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment