commit | bc79ff19e85d414abc2875d707f271ccb266ee1e | [log] [tgz] |
---|---|---|
author | jiabin <jiabin@google.com> | Mon Dec 11 19:10:05 2023 +0000 |
committer | jiabin <jiabin@google.com> | Tue Dec 12 17:44:28 2023 +0000 |
tree | a492cbbf611c28f1e8251850bc59a2c6ce14514c | |
parent | 5e09362f75c3aac04bf3c8397b7743f7477e4d6c [diff] |
AHAL: add API to notify the HAL module about disconnecting device. When external device is about to disconnect, the audio framework will notify the HAL module about the coming device disconnection so that the HAL module could abort any active read/write operations on drivers to avoid problems with the HW interfaces. Bug: 279824103 Test: atest VtsHalAudioCoreModuleTargetTest Change-Id: I9f960b8ae5df11a764e70bd63f98c0f8b8386c34