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

Commit cfa80080 authored by Ravindra's avatar Ravindra Committed by Gerrit - the friendly Code Review server
Browse files

Fix to set audio mode for SIP call

Set the audio mode for sip call as MODE_IN_COMMUNICATION
if the scheme is SCHEME_SIP

Change-Id: I5477bde7c38f016c7dec32eaa7aeac6adf070d2c
CRs-Fixed: 778357
parent 064e1e16
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1367,7 +1367,8 @@ final class Call implements CreateConnectionResponse {
    }

    public boolean getIsVoipAudioMode() {
        return mIsVoipAudioMode;
            return mIsVoipAudioMode ||((mHandle != null) ?
                    (mHandle.getScheme() == PhoneAccount.SCHEME_SIP): false);
    }

    public void setIsVoipAudioMode(boolean audioModeIsVoip) {