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

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

APC: Add possible deadlock fix when creating track

When creating a new track the thread lock is being held. This can have
the effect of causing a deadlock when the OpPlayAudioMonitor is being
created since the onFirstRef method could also try to access the same
thread lock. Removing the broadcast when calling onFirstRef which is not
needed and would also avoid the deadlock

Test: atest AudioPlaybackConfigurationTest
Bug: 289885996
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:d585959ccce748ba024c63d09b08d737eabfc70a)

Merged-In: I16555608176f1b1dfa180e82346319b55c19de01
Change-Id: I16555608176f1b1dfa180e82346319b55c19de01
parent aaec7976
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