commit | d400724c9e75ce6afd21ef1f1bdfe9d321b10f67 | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Wed Mar 27 12:42:16 2019 -0700 |
committer | Eric Laurent <elaurent@google.com> | Wed Mar 27 12:42:16 2019 -0700 |
tree | 54170ee6d0653a3c2b45f0bd36af07b20ef27275 | |
parent | c70268aa433e7d307819184ae5c2ec96a3e5b6af [diff] [blame] |
audio policy: fix typo in doReleaseOutput() Fix use use of mAudioRecordClients instead of mAudioPlaybackClients in doReleaseOutput(). Test: make. Change-Id: I5c695582828300c0297f4f58bcba37e17b51bbbd
diff --git a/services/audiopolicy/service/AudioPolicyInterfaceImpl.cpp b/services/audiopolicy/service/AudioPolicyInterfaceImpl.cpp index 93e3c44..9a39275 100644 --- a/services/audiopolicy/service/AudioPolicyInterfaceImpl.cpp +++ b/services/audiopolicy/service/AudioPolicyInterfaceImpl.cpp
@@ -322,7 +322,7 @@ return; } sp<AudioPlaybackClient> client = mAudioPlaybackClients.valueAt(index); - mAudioRecordClients.removeItem(portId); + mAudioPlaybackClients.removeItem(portId); // called from internal thread: no need to clear caller identity mAudioPolicyManager->releaseOutput(portId);