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

Skip to content
Commit c5b6c829 authored by Hunsuk Choi's avatar Hunsuk Choi
Browse files

Set ImsReasonInfo for all reasons in onCallStartFailed

In DSDS device, if IMS determines that cross SIM redialing is required, for example ePDN activation failure with a specific cause, IMEI NOT ACCEPTED, it returns call failure with the reason code CODE_EMERGENCY_TEMP_FAILURE or CODE_EMERGENCY_PERM_FAILURE.

If the call is terminated with reason code CODE_EMERGENCY_TEMP_FAILURE or CODE_EMERGENCY_PERM_FAILURE, no ImsReasonInfo is passed to DomainSelector, since Connection#setImsReasonInfo() is called
only when the reason code is one of CODE_SIP_ALTERNATE_EMERGENCY_CALL,
CODE_LOCAL_NOT_REGISTERED, and CODE_LOCAL_CALL_CS_RETRY_REQUIRED in onCallStartFailed().

Fix onCallStartFailed() to call Connection#setImsReasonInfo() for all reason codes to make ImsReasonInfo be passed to upper layers.

This is applicable for AP domain selection only.

Bug: 322918361
Test: atest ImsPhoneCallTrackerTest
Change-Id: I6e4606379d991d8cbe6fde9a8834dd8282657e14
parent bb8e7f93
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment