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

Skip to content
Commit 70ec5e89 authored by Eric Laurent's avatar Eric Laurent
Browse files

audio policy: fix mutex in stopOutput

Commit d7fe086d introduced a problem by acquiring the AudioPolicyService
mutex in stopOutput(). stopOutput() and releaseOtuput() can be called
from audioflinger thread loop and should never acquire the main
AudioPolicyService mutex.
Removed unnecessary check on valid port Id as this check is also performed
when doStopOutput() is executed by the command thread.

Bug: 111966786
Test: verify no timeout when starting or ending a call.
Change-Id: Id09eaae7a4409dfc54c6fbb1eced1624cd7b3536
parent f344afa9
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