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

Commit 3b5ea723 authored by Eric Laurent's avatar Eric Laurent
Browse files

Add flag for perferred input device logic in audio policy engine

Add a flag allowing to skip the preferred device selection in
Engine::getInputDeviceForAttributes() in a context like
getInputForAttributes() where it should be ignored.

Test: make
Flag: com.android.media.audioserver.conditionally_ignore_preferred_input_device
Bug: 303079083
Change-Id: I0f83fe2528f2ab888bc1d3b8aff127f838d612db
parent c9d88600
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -5,6 +5,15 @@
package: "com.android.media.audioserver"
container: "system"

flag {
    name: "conditionally_ignore_preferred_input_device"
    namespace: "media_audio"
    description:
        "Allows to ignore preferred device requests in getInputDeviceForAttributes() depending "
        "on the calling context."
    bug: "303079083"
}

flag {
    name: "direct_track_reprioritization"
    namespace: "media_audio"