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

Skip to content
Commit 572e61da authored by Ping Tsai's avatar Ping Tsai Committed by MugaChi
Browse files

audio policy: handle errors for usb broadcast device connection

When the USB is quickly connected and then disconnected, the broadcast device may not have enough time to read the USB info, preventing the dynamic profile from being created and causing routing errors. Therefore, when the usb broadcast device connection fails, setDeviceConnectionState will be interrupted

Bug: 360284877
Test:
Atest AudioPolicyManagerTestDeviceConnectionFailed

Change-Id: I3bd31f1455cfaf9f1041cf079b92b6b407c3a74e
parent 6f2b31f5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment