commit | f26596b5da3af0c7e293fbd7781590e7c1320358 | [log] [tgz] |
---|---|---|
author | jiabin <jiabin@google.com> | Wed Apr 12 18:56:39 2023 +0000 |
committer | jiabin <jiabin@google.com> | Wed Apr 12 19:17:37 2023 +0000 |
tree | 07add96e540d04eabd6ab9581fdadf1585716321 | |
parent | 61e0b54786fa09680e20980b5c9a50d1f02cc127 [diff] |
APM: use the device profile to update dynamic profiles. In AIDL HAL, getParameters API is no longer supported. The profiles of dynamic mix port will be determined by the connected device, which can be known by calling getAudioPort API. In APM, use the device profiles to update dynamic profiles when calling getParameters fails. Bug: 277785275 Test: atest audiopolicy_tests Test: manually with AIDL HAL Change-Id: I99455c76267368c19b5be8e1667a10de84e3cedd