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

Commit 1e074741 authored by Pawan Wagh's avatar Pawan Wagh Committed by Automerger Merge Worker
Browse files

Merge "Fixing null deference crash in audio service" am: f784df7c am: 995ce272 am: 8b984c5e

parents d0eb7cb4 8b984c5e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -953,7 +953,7 @@ ndk::ScopedAStatus Module::setMicMute(bool in_mute) {
}

ndk::ScopedAStatus Module::getMicrophones(std::vector<MicrophoneInfo>* _aidl_return) {
    *_aidl_return = mConfig->microphones;
    *_aidl_return = getConfig().microphones;
    LOG(DEBUG) << __func__ << ": returning " << ::android::internal::ToString(*_aidl_return);
    return ndk::ScopedAStatus::ok();
}