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

Commit 84835fe2 authored by Brad Ebinger's avatar Brad Ebinger Committed by android-build-merger
Browse files

Merge "Null check IMS calls in shouldDisconnectActiveCallOnAnswer"

am: b40f09bc

Change-Id: I72faeab21453a11a3c2a6ef8096aebd3b9814e44
parents 079d18be b40f09bc
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2972,6 +2972,10 @@ public class ImsPhoneCallTracker extends CallTracker implements ImsPullCall {
    private boolean shouldDisconnectActiveCallOnAnswer(ImsCall activeCall,
            ImsCall incomingCall) {

        if (activeCall == null || incomingCall == null) {
            return false;
        }

        if (!mDropVideoCallWhenAnsweringAudioCall) {
            return false;
        }