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

Skip to content
Commit 77334881 authored by Pranav Madapurmath's avatar Pranav Madapurmath
Browse files

Move asnyc call audio tasks to single thread.

Currently, all outbound invocations to AudioManager are done using the
existing async task executor, which is a cached thread pool, making it
possible that the sequential order of requests are not adhered to. In
the associated bug, we found that invocations made to turn the speaker
phone on and then back on were received by AudioManager as a request to
first set the communication device for the speaker phone and then clear
it right after. Moving the invocations out into a single thread should
ensure that the ordering of the requests is preserved.

Fixes: 283319571
Test: atest TelecomUnitTests
Change-Id: I16f1b1407ee75abf7115047b088115ebe385323d
Merged-In: I16f1b1407ee75abf7115047b088115ebe385323d
parent c8f6d3f2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment