Loading
Revert^2 "Audio CAP: Address ANAPIC comments, Part 3."
Use the new definition of 'AudioPolicyForceUse' from android.media.audio.common stable AIDL package. Instead of a loosely coupled pair of values from the enum 'AudioPolicyForceUse' and the associated enum 'AudioPolicyForcedConfig', there is now a single union 'AudioPolicyForceUse'. The tag of this union replaces the enum named the same, while the value of the union replaces 'AudioPolicyForcedConfig'. Possible values for uses got limited to the pairs that actually make sense. For consistency, `forceUse` field was removed from 'AudioHalCapCriterionV2::ForceConfigForUse'. Instead, the tag from the first element of 'values' is used for specifying the use case. Bug: 364310317 Test: m Change-Id: I83a7347d5cee3ef86ae7e44baebc6442de7eb0a9