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

Commit 60cf8e89 authored by Eric Laurent's avatar Eric Laurent Committed by Gerrit Code Review
Browse files

Merge "AudioPolicyService: Synchronize access to AudioPolicyManager"

parents 6bbaad1b dfb9f3b0
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -459,6 +459,7 @@ audio_devices_t AudioPolicyService::getDevicesForStream(audio_stream_type_t stre
    if (mAudioPolicyManager == NULL) {
    if (mAudioPolicyManager == NULL) {
        return AUDIO_DEVICE_NONE;
        return AUDIO_DEVICE_NONE;
    }
    }
    Mutex::Autolock _l(mLock);
    return mAudioPolicyManager->getDevicesForStream(stream);
    return mAudioPolicyManager->getDevicesForStream(stream);
}
}