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

Commit 1ee387f0 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Fix to prevent null pointer exception"

parents 520506f8 899b590e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -280,6 +280,7 @@ final class CallAudioManager extends CallsManagerListenerBase
        boolean wasNotVoiceCall = mAudioFocusStreamType != AudioManager.STREAM_VOICE_CALL;
        updateAudioStreamAndMode();
        if ((call != null) && (call.getState() == CallState.ACTIVE) &&
                (call.getTargetPhoneAccount() != null) &&
                call.getTargetPhoneAccount().getId().equals(mSubId) && mSpeedUpAudioForMtCall) {
            Log.d(this,"Reset mSpeedUpAudioForMtCall");
            mSpeedUpAudioForMtCall = false;