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

Skip to content
Commit e4a458a5 authored by jiabin's avatar jiabin
Browse files

Fix the logic of getting aaudio MMAP policy from collection of policy info.

When the HAL reports mmap policy per device type, the framework will set
the aaudio policy according to the values of the reported policies.
1. Uses AUTO if any of the policy is AUTO or ALWAYS
2. Uses NEVER if all of the policies are NEVER or UNSPECIFIED
3. Uses default policy if all of the policies are UNSPECIFIED

Bug: 342652379
Test: dump aaudio service
FLAG: EXEMPT bugfix
Change-Id: I93bae470e6d9fbdb6eca24108f3f33cb1499824e
parent 788af1c4
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