commit | 53b810ead5b726994fe6a28c6fa955e7b8799aaa | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Sun Dec 10 17:25:10 2017 -0800 |
committer | Eric Laurent <elaurent@google.com> | Mon Dec 11 14:30:37 2017 -0800 |
tree | 15653882b1b062369bc046d9ef92ccfdffbe1281 | |
parent | 5fb93fa294ee05a25f86312e926b5ca4e0d1d3b2 [diff] |
audio policy: fix device address passed when opening HAL streams Commit fe231127 caused a regression where the device address is not passed properly to audio HAL by openInputStream() or openOutputStream(). The address must be read from available device descriptors, not supported devices in profiles which do not have the current device address for removable devices. Bug: 70321528 Test: audio smoke tests,CTS AudioRecordTest Change-Id: I83211a31f86391b80c3c244b436a2e36923ccea0