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
Loading