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

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

audio policy: fix preferred input device use in getInputForAttr()

Ignore preferred device rules in Engine::getInputDeviceForAttributes()
when called from getInputforAttr(). The preferred device is already
taken into account directly in getInputForAttr() and the outcome of
Engine::getInputDeviceForAttributes() will vary depending on active
clients with preferred devices which can cause the wrong input profile
to be selected.

Bug: 303079083
Test: make
Flag: com.android.media.audioserver.conditionally_ignore_preferred_input_device
Change-Id: If30333aad2625eec79a180ec9c2959b57cd664da
parent f020ef2d
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