commit | 6690749e7c7ed34fcef46cbc6d06576b1050063c | [log] [tgz] |
---|---|---|
author | Mikhail Naganov <mnaganov@google.com> | Mon Sep 11 17:22:03 2023 -0700 |
committer | Mikhail Naganov <mnaganov@google.com> | Tue Sep 12 13:19:15 2023 -0700 |
tree | 2af7a969c4fa69d4800df05946922884a71c1488 | |
parent | d65b6a2574d05797b6f1bed4383edaf38d1e4db6 [diff] |
libaudiohal@aidl: Handle postponed streams closing Since APM disconnects external devices independently of AF closing HAL streams, a situation can occur when APM is trying to disconnect a device port for which streams still exist. To accommodate this case, allow postponing of external device disconnection until the corresponding stream was closed. Bug: 298175108 Test: atest audiosystem_tests Change-Id: Ia786822b9b57e4140f75b88b802399975e42b93c