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