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

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

audio policy: fix crash in findPreferredDevice() on duplicating outputs

Duplicating outputs do not have an associated IOProfile and
getPolicyAudioPort() returns null.

Add a method to AudioIODescriptorInterface to query if the
input or output descriptor corresponds to MMAP IO profile or not.

Bug: 153849965
Test: repro steps in the bug
Change-Id: I300356880198f1785e3a5e1359ffd393c6ae4190
parent 141095dc
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