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

Skip to content
Commit 66e4c477 authored by Leena Winterrowd's avatar Leena Winterrowd Committed by Wei Jia
Browse files

NuPlayerRenderer: Handle AMessage post error in openAudioSink

AMessage::postAndAwaitResponse can fail if the target looper no
longer exists or if allocation of the reply token fails. Check for
error in these cases to avoid deferencing a NULL response.
Test: compiles
Bug: 34805421

(cherry picked from commit b90c8f42036ea773e938cadd0d52480ac703edd7)

Change-Id: Ib76c111a39462e867a41f320c0ba0a220a0c5641
parent d7ae0b85
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