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

Skip to content
Commit a0245642 authored by Eric Laurent's avatar Eric Laurent
Browse files

AudioDeviceBroker: fix communication route for idle apps

AudioDeviceBroker.onUpdateCommunicationRouteClient() was just evaluating
if SCO audio should be used by the audio policy for calls (which includes when SCO audio
is already active from an external  request - e.g. by Telecom) but not if no more active
request to use SCO exists. Thus it was failing to stop internal SCO audio requests when
no more communication route client was active.

Also fix a spurious CONNECTING intent broadcast in
BtHelper.requestScoState()

Bug: 294167472
Test: repro steps in bug
Change-Id: Ib94dc3aa8cfe7120a87661b6403ee4060a295f8c
parent b20dbb50
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