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

Skip to content
Commit 8002e495 authored by WhaleChang's avatar WhaleChang
Browse files

Audio Policy: Route both audio input and output to SCO with...

Audio Policy: Route both audio input and output to SCO with setCommunicationDevice(TYPE_BLUETOOTH_SCO)

Previously, calling setCommunicationDevice(TYPE_BLUETOOTH_SCO)
would incorrectly route audio output to the internal speaker
while only routing input to SCO.

This commit fix the issue by ensuring that both audio output and
input are correctly routed to SCO when
setCommunicationDevice(TYPE_BLUETOOTH_SCO)

Bug: 377191633
Bug: 383440209
Test: both audio output and input are correctly routed to SCO when
setCommunicationDevice(TYPE_BLUETOOTH_SCO)
Test: m
Flag: com.android.media.audioserver.use_bt_sco_for_media

Change-Id: I79c8721e264e4faa5017de2449801853bd6367fa
parent f7763c7e
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