audiopolicy: fix pick input profile issue
The exact match profile consider not only the config but also the flags The compatibilityScore is used to determine the level of match between configurations and flags. It has the following possible values: - NO_MATCH: Both config and flags are not compatible. - PARTIAL_MATCH: Both config and flags are partially matched. - PARTIAL_MATCH_WITH_CONFIG: Partial match with flags(e.g. fast flags) and exact match with config. - PARTIAL_MATCH_WITH_FLAG: Partial match with config and exact match with flags. - EXACT_MATCH: Both config and flags are exactly matched. Bug: 390278647 Test: atest audiopolicy_tests Flag: EXEMPT bug fix (cherry picked from https://partner-android-review.googlesource.com/q/commit:9b8b7736b89a9f57280f791118b6d70bf8f3b83d) Merged-In: Ifaf1ce2fabd468b8859fe818f14d69bd702bf74e Change-Id: Ifaf1ce2fabd468b8859fe818f14d69bd702bf74e
Loading
Please register or sign in to comment