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
Loading
Please register or sign in to comment