From 71704ae7a5fbe47dc5cd11f79517305498ee7b28 Mon Sep 17 00:00:00 2001 From: Ian Chang Date: Wed, 12 Jan 2022 16:35:28 +0800 Subject: [PATCH] Modify KEY_IMS_REASONINFO_MAPPING_STRING_ARRAY's description Describe the wildcard for the MESSAGE part in the "ORIGINAL_CODE|MESSAGE|NEW_CODE" format. Bug: 208172486 Change-Id: Ide6741fa41e4b054aef3eec8548e361012faca7b --- telephony/java/android/telephony/CarrierConfigManager.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/telephony/java/android/telephony/CarrierConfigManager.java b/telephony/java/android/telephony/CarrierConfigManager.java index de97730439891..24b5c32e90a2b 100644 --- a/telephony/java/android/telephony/CarrierConfigManager.java +++ b/telephony/java/android/telephony/CarrierConfigManager.java @@ -2459,6 +2459,10 @@ public class CarrierConfigManager { * * Note: If {@code *} is specified for the original code, any ImsReasonInfo with the matching * {@code MESSAGE} will be remapped to {@code NEW_CODE}. + * If {@code *} is specified for the message, any ImsReasonInfo with the matching + * {@code ORIGINAL_CODE} will be remapped to {@code NEW_CODE}. + * The wildcard for {@code ORIGINAL_CODE} takes precedence to the wildcard for {@code MESSAGE}. + * A mapping with both wildcards has no effect. * * Example: "501|call completion elsewhere|1014" * When the {@link ImsReasonInfo#getCode()} is {@link ImsReasonInfo#CODE_USER_TERMINATED} and