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

Commit 080bd0d2 authored by Tyler Gunn's avatar Tyler Gunn
Browse files

Remap CODE_REJECTED_ELSEWHERE to incoming rejected.

CODE_REMOTE_CALL_DECLINE and CODE_REJECTED_ELSEWHERE are both explicitly
documented as handling the "call rejected elsewhere" multiendpoint usecase.
Yes, they're exactly the same.  And they should be duped in the future.

Fixes: 194079457
Test: To be manually tested by test team (infeasible to development test
locally).

Change-Id: I3e0f33ad2d620bc75b6b723dd3f72277a6fa120f
parent 7dd50462
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2715,6 +2715,7 @@ public class ImsPhoneCallTracker extends CallTracker implements ImsPullCall {

            case ImsReasonInfo.CODE_LOCAL_CALL_DECLINE:
            case ImsReasonInfo.CODE_REMOTE_CALL_DECLINE:
            case ImsReasonInfo.CODE_REJECTED_ELSEWHERE:
                // If the call has been declined locally (on this device), or on remotely (on
                // another device using multiendpoint functionality), mark it as rejected.
                return DisconnectCause.INCOMING_REJECTED;