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

Commit 164a8f86 authored by Eric Laurent's avatar Eric Laurent
Browse files

Partial fix for issue 3124895.

When a SIP call is put on hold and no other call is active, the audio mode should not be
switched to incall.

Change-Id: I1307330f10cbfb9c4223bcb9dc4faa79778750af
parent 79e76f52
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -380,7 +380,7 @@ public final class CallManager {
                break;
            case OFFHOOK:
                Phone fgPhone = getFgPhone();
                if (!(fgPhone instanceof SipPhone)) {
                if (hasActiveFgCall() && !(fgPhone instanceof SipPhone)) {
                    mode = AudioManager.MODE_IN_CALL;
                }
                break;