From d1d7f3b81443e18060e2c67c1abcd43d2f7a03c0 Mon Sep 17 00:00:00 2001 From: Andalam Parthasarathi Date: Tue, 6 Oct 2015 18:26:24 +0530 Subject: Add mapping string for call reject cause code 26. Mapping string for the specified disconnect cause. Show a toast string "non-selected user clearing" for cause code 26 Change-Id: I6592411b147f1109b37b1a60a868468a8840a47a CRs-Fixed: 801884 --- telephony/java/android/telephony/DisconnectCause.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'telephony') diff --git a/telephony/java/android/telephony/DisconnectCause.java b/telephony/java/android/telephony/DisconnectCause.java index cb68b6b..1821f30 100644 --- a/telephony/java/android/telephony/DisconnectCause.java +++ b/telephony/java/android/telephony/DisconnectCause.java @@ -241,6 +241,8 @@ public class DisconnectCause { /** EMERGENCY call failed with permanent fail cause */ public static final int EMERGENCY_PERM_FAILURE = 97; + public static final int NON_SELECTED_USER_CLEARING = 98; + /** * Call was rejected due to number being blacklisted by user. * {@@hide} @@ -255,7 +257,7 @@ public class DisconnectCause { // 4) Update toString() with the newly added disconnect type. // 5) Update android.telecom.DisconnectCauseUtil with any mappings to a telecom.DisconnectCause. // - // NextId: 98 + // NextId: 99 //********************************************************************************************* /** Smallest valid value for call disconnect codes. */ @@ -370,6 +372,8 @@ public class DisconnectCause { return "IMS_MERGED_SUCCESSFULLY"; case CDMA_ALREADY_ACTIVATED: return "CDMA_ALREADY_ACTIVATED"; + case NON_SELECTED_USER_CLEARING: + return "NON_SELECTED_USER_CLEARING"; case HO_NOT_FEASIBLE: return "HO_NOT_FEASIBLE"; case NO_CIRCUIT_AVAIL: -- cgit v1.1