Skip to content
Commit 6a0d05c0 authored by Dorin Drimus's avatar Dorin Drimus
Browse files

Filter unsuported native audio formats in getDirectProfilesForAttributes

The audio HAL and native layer knows of more audio formats than the Java
layer for now. In getDirectProfilesForAttributes filter the invalid
encodings.

Bug: 231539208
Test: atest audiopolicy_tests
Test: atest DirectAudioProfilesForAttributesTest
Change-Id: I9f38c54d0466767c2690196183b3ea3c135618f5
parent db2310a2
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