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

Skip to content
Commit 4e92361e authored by donaldahn's avatar donaldahn Committed by Sungcheol Ahn
Browse files

Add support for message in KEY_IMS_REASONINFO_MAPPING_STRING_ARRAY

For TMO case, "510|Call completed elsewhere|1014" is configured as one item in the PARIS key "ims_reasoninfo_mapping_string_array". This purpose is to not show the missed call notification since the other device of the twinning account has answered the call.
However, when the twin device answers the call, the reason text in SIP CANCEL sent to the phone device includes imei information after text "call completed elsewhere" Since the reason text is not fully matched, the reason code is not remapped.
ImsReasonInfoKeyPair, which was created by overriding the Pair, was supported the partial match by using startsWith for extramessage.

Test: atest ImsPhoneCallTrackertest
Bug: b/249606161
Change-Id: Ica8c4fffbd4ac178ef4883626e072de04ea94bf6
(cherry picked from commit 15cc4653)
parent 3cfa5c66
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