diff options
author | Hunsuk Choi <forestchoi@google.com> | 2024-02-26 05:18:07 +0000 |
---|---|---|
committer | Hunsuk Choi <forestchoi@google.com> | 2024-03-01 12:13:17 +0000 |
commit | c5b6c8294ebb4ab2854b9e16dd32ad6601ea7f6a (patch) | |
tree | fe72bf3d5a1e1053bdee770ce737c8d59536cf93 /src/java/com/android/internal/telephony/SmsStorageMonitor.java | |
parent | bb8e7f93bd0f4483a1a65dcf03c76db153d93b01 (diff) | |
download | telephony-c5b6c8294ebb4ab2854b9e16dd32ad6601ea7f6a.tar.gz |
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
Diffstat (limited to 'src/java/com/android/internal/telephony/SmsStorageMonitor.java')
0 files changed, 0 insertions, 0 deletions