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

Skip to content
Commit eafa048a authored by Vlad Popa's avatar Vlad Popa
Browse files

CSD: fix race condition when releasing patch

For short streams it can happen that the updateMetadata which
invalidates the active stream is sent before the patch is released. This
leads to a double calling of stopMelComputation for the same stream,
which has an effect of lowering the counter of mActiveDeviceTypes twice.

Also improved the logging for debugging.

Test: logs and dumpsys
Bug: 265928284
Change-Id: I1f1e585c974632d015d318fe616364009cefdd96
Merged-In: I1f1e585c974632d015d318fe616364009cefdd96
(cherry picked from commit 2750604b)
parent 58e72dcb
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