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

Skip to content
Commit 6f52ff9e authored by Francois Gaffie's avatar Francois Gaffie Committed by Eric Laurent
Browse files

[BUG] audiopolicy: engineconfigurable: prevent illegal map access



If any request to get OutputDevice for a given attributes is performed
before the cache has been initalized, an illegal access to the vector
happens.
This CL fixes by returning empty device vector when cache is empty.

Test: build & boot configurable engine target & basic audio

Signed-off-by: default avatarFrancois Gaffie <francois.gaffie@renault.com>
Change-Id: I1371765401441732319be56a9cae6fbf3c5cc2bf
parent 9c9bafff
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