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
diff --git a/src/java/com/android/internal/telephony/imsphone/ImsPhoneCallTracker.java b/src/java/com/android/internal/telephony/imsphone/ImsPhoneCallTracker.java
index 7b1f020..f67082a 100755
--- a/src/java/com/android/internal/telephony/imsphone/ImsPhoneCallTracker.java
+++ b/src/java/com/android/internal/telephony/imsphone/ImsPhoneCallTracker.java
@@ -2715,6 +2715,7 @@
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;