Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d400724c authored by Eric Laurent's avatar Eric Laurent
Browse files

audio policy: fix typo in doReleaseOutput()

Fix use use of mAudioRecordClients instead of
mAudioPlaybackClients in doReleaseOutput().

Test: make.
Change-Id: I5c695582828300c0297f4f58bcba37e17b51bbbd
parent c70268aa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -322,7 +322,7 @@ void AudioPolicyService::doReleaseOutput(audio_port_handle_t portId)
        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);