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

Commit 69b23f10 authored by Eric Laurent's avatar Eric Laurent Committed by Android (Google) Code Review
Browse files

Merge "audio policy: acquire mutex in getDeviceConnecitonState"

parents ba8f50eb ad440cef
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -166,6 +166,7 @@ Status AudioPolicyService::getDeviceConnectionState(const AudioDevice& deviceAid
                        AUDIO_POLICY_DEVICE_STATE_UNAVAILABLE));
        return Status::ok();
    }
    Mutex::Autolock _l(mLock);
    AutoCallerClear acc;
    *_aidl_return = VALUE_OR_RETURN_BINDER_STATUS(
            legacy2aidl_audio_policy_dev_state_t_AudioPolicyDeviceState(