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

Skip to content
Commit 222587c0 authored by Arun Johnson's avatar Arun Johnson
Browse files

Fix race while setting ASyncNotify callback

Holding mAsyncCallbackLock while setCallback() in
mediacodec can cause deadlock. setCallback() is done without lock
but the ASyncCallback and userdata assignments are done within
the lock so that we can respond to async callback immediatly

bug: 236908959
Change-Id: Id0d2befa8520cbd35b6265037e6481276dcb1bfc
parent 79957d47
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