[EGD-3427] AudioServiceAPI::RoutingHeadset is now called from EventManager. Calling in WorkerEvent caused response message loses and timeouts on the Bus.

This commit is contained in:
Szymon Mroczek
2020-08-06 16:13:55 +02:00
committed by Szymon Mroczek
parent 8c546ef92c
commit 67e234eb8e
3 changed files with 13 additions and 3 deletions

View File

@@ -29,7 +29,7 @@ namespace app
sys::Message_t ApplicationNotes::DataReceivedHandler(sys::DataMessage *msgl, sys::ResponseMessage *resp)
{
auto retMsg = Application::DataReceivedHandler(msgl);
auto retMsg = Application::DataReceivedHandler(msgl);
// if message was handled by application's template there is no need to process further.
if ((reinterpret_cast<sys::ResponseMessage *>(retMsg.get())->retCode == sys::ReturnCodes::Success)) {
return retMsg;