blob: 7ad26c901188ca047cbdc8b2c4e302d7baceb9dc [file] [log] [blame]
Andrew Lee7f3d41f2014-09-11 17:33:16 -07001/*
2 * Copyright (C) 2014 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package android.telecom;
18
Pranav Madapurmath4aaf2a22024-02-06 15:16:23 -080019import android.annotation.FlaggedApi;
20import android.annotation.NonNull;
Tyler Gunnbc9ecbc2021-03-09 15:06:30 -080021import android.annotation.Nullable;
Pranav Madapurmath4aaf2a22024-02-06 15:16:23 -080022import android.annotation.SystemApi;
Youming Yed6de26e2019-01-30 11:20:35 -080023import android.media.ToneGenerator;
Andrew Lee7f3d41f2014-09-11 17:33:16 -070024import android.os.Parcel;
25import android.os.Parcelable;
Tyler Gunnbc9ecbc2021-03-09 15:06:30 -080026import android.telephony.Annotation;
27import android.telephony.PreciseDisconnectCause;
28import android.telephony.ims.ImsReasonInfo;
Andrew Lee7f3d41f2014-09-11 17:33:16 -070029import android.text.TextUtils;
30
Pranav Madapurmath4aaf2a22024-02-06 15:16:23 -080031import com.android.server.telecom.flags.Flags;
32
Andrew Lee7f3d41f2014-09-11 17:33:16 -070033import java.util.Objects;
34
35/**
36 * Describes the cause of a disconnected call. This always includes a code describing the generic
Santos Cordond9e614f2014-10-28 13:10:36 -070037 * cause of the disconnect. Optionally, it may include a label and/or description to display to the
38 * user. It is the responsibility of the {@link ConnectionService} to provide localized versions of
39 * the label and description. It also may contain a reason for the disconnect, which is intended for
40 * logging and not for display to the user.
Andrew Lee7f3d41f2014-09-11 17:33:16 -070041 */
42public final class DisconnectCause implements Parcelable {
43
44 /** Disconnected because of an unknown or unspecified reason. */
Tej Singhc477d9c2018-02-05 18:31:39 -080045 public static final int UNKNOWN = TelecomProtoEnums.UNKNOWN; // = 0
Andrew Lee7f3d41f2014-09-11 17:33:16 -070046 /** Disconnected because there was an error, such as a problem with the network. */
Tej Singhc477d9c2018-02-05 18:31:39 -080047 public static final int ERROR = TelecomProtoEnums.ERROR; // = 1
Andrew Lee7f3d41f2014-09-11 17:33:16 -070048 /** Disconnected because of a local user-initiated action, such as hanging up. */
Tej Singhc477d9c2018-02-05 18:31:39 -080049 public static final int LOCAL = TelecomProtoEnums.LOCAL; // = 2
Andrew Lee7f3d41f2014-09-11 17:33:16 -070050 /**
Tyler Gunne8c5a292023-05-02 22:52:26 +000051 * Disconnected because the remote party hung up an ongoing call, or because an outgoing call
52 * was not answered by the remote party.
Andrew Lee7f3d41f2014-09-11 17:33:16 -070053 */
Tej Singhc477d9c2018-02-05 18:31:39 -080054 public static final int REMOTE = TelecomProtoEnums.REMOTE; // = 3
Andrew Lee7f3d41f2014-09-11 17:33:16 -070055 /** Disconnected because it has been canceled. */
Tej Singhc477d9c2018-02-05 18:31:39 -080056 public static final int CANCELED = TelecomProtoEnums.CANCELED; // = 4
Andrew Lee7f3d41f2014-09-11 17:33:16 -070057 /** Disconnected because there was no response to an incoming call. */
Tej Singhc477d9c2018-02-05 18:31:39 -080058 public static final int MISSED = TelecomProtoEnums.MISSED; // = 5
Andrew Lee7f3d41f2014-09-11 17:33:16 -070059 /** Disconnected because the user rejected an incoming call. */
Tej Singhc477d9c2018-02-05 18:31:39 -080060 public static final int REJECTED = TelecomProtoEnums.REJECTED; // = 6
Andrew Lee7f3d41f2014-09-11 17:33:16 -070061 /** Disconnected because the other party was busy. */
Tej Singhc477d9c2018-02-05 18:31:39 -080062 public static final int BUSY = TelecomProtoEnums.BUSY; // = 7
Andrew Lee7f3d41f2014-09-11 17:33:16 -070063 /**
64 * Disconnected because of a restriction on placing the call, such as dialing in airplane
65 * mode.
66 */
Tej Singhc477d9c2018-02-05 18:31:39 -080067 public static final int RESTRICTED = TelecomProtoEnums.RESTRICTED; // = 8
Andrew Lee7f3d41f2014-09-11 17:33:16 -070068 /** Disconnected for reason not described by other disconnect codes. */
Tej Singhc477d9c2018-02-05 18:31:39 -080069 public static final int OTHER = TelecomProtoEnums.OTHER; // = 9
Sailesh Nepal7a69c922014-11-05 18:37:53 -080070 /**
71 * Disconnected because the connection manager did not support the call. The call will be tried
72 * again without a connection manager. See {@link PhoneAccount#CAPABILITY_CONNECTION_MANAGER}.
73 */
Tej Singhc477d9c2018-02-05 18:31:39 -080074 public static final int CONNECTION_MANAGER_NOT_SUPPORTED =
75 TelecomProtoEnums.CONNECTION_MANAGER_NOT_SUPPORTED; // = 10
Andrew Lee7f3d41f2014-09-11 17:33:16 -070076
Tyler Gunn876dbfb2016-03-14 15:18:07 -070077 /**
78 * Disconnected because the user did not locally answer the incoming call, but it was answered
79 * on another device where the call was ringing.
80 */
Tej Singhc477d9c2018-02-05 18:31:39 -080081 public static final int ANSWERED_ELSEWHERE = TelecomProtoEnums.ANSWERED_ELSEWHERE; // = 11
Tyler Gunn876dbfb2016-03-14 15:18:07 -070082
83 /**
84 * Disconnected because the call was pulled from the current device to another device.
85 */
Tej Singhc477d9c2018-02-05 18:31:39 -080086 public static final int CALL_PULLED = TelecomProtoEnums.CALL_PULLED; // = 12
Tyler Gunn876dbfb2016-03-14 15:18:07 -070087
Tyler Gunn6adbd2b2016-12-07 13:19:44 -080088 /**
89 * Reason code (returned via {@link #getReason()}) which indicates that a call could not be
90 * completed because the cellular radio is off or out of service, the device is connected to
91 * a wifi network, but the user has not enabled wifi calling.
Tyler Gunn6adbd2b2016-12-07 13:19:44 -080092 */
93 public static final String REASON_WIFI_ON_BUT_WFC_OFF = "REASON_WIFI_ON_BUT_WFC_OFF";
94
Brad Ebinger8818c6f2017-06-30 15:34:32 -070095 /**
Brad Ebinger153af012022-08-26 15:11:25 -070096 * Reason code (returned via {@link #getReason()}), which indicates that the call was
97 * disconnected because IMS access is blocked.
Brad Ebinger8818c6f2017-06-30 15:34:32 -070098 */
99 public static final String REASON_IMS_ACCESS_BLOCKED = "REASON_IMS_ACCESS_BLOCKED";
100
Youming Yed6de26e2019-01-30 11:20:35 -0800101 /**
Hall Liu2ef04112020-09-14 18:34:10 -0700102 * Reason code (returned via {@link #getReason()}), which indicates that the connection service
103 * is setting the call's state to {@link Call#STATE_DISCONNECTED} because it is internally
104 * changing the representation of an IMS conference call to simulate a single-party call.
105 *
106 * This reason code is only used for communication between a {@link ConnectionService} and
107 * Telecom and should not be surfaced to the user.
Youming Yed6de26e2019-01-30 11:20:35 -0800108 */
109 public static final String REASON_EMULATING_SINGLE_CALL = "EMULATING_SINGLE_CALL";
110
Brad Ebinger62713872019-11-18 18:43:35 -0800111 /**
112 * This reason is set when a call is ended in order to place an emergency call when a
113 * {@link PhoneAccount} doesn't support holding an ongoing call to place an emergency call. This
114 * reason string should only be associated with the {@link #LOCAL} disconnect code returned from
115 * {@link #getCode()}.
116 */
117 public static final String REASON_EMERGENCY_CALL_PLACED = "REASON_EMERGENCY_CALL_PLACED";
118
Andrew Lee7f3d41f2014-09-11 17:33:16 -0700119 private int mDisconnectCode;
120 private CharSequence mDisconnectLabel;
121 private CharSequence mDisconnectDescription;
122 private String mDisconnectReason;
123 private int mToneToPlay;
Tyler Gunnbc9ecbc2021-03-09 15:06:30 -0800124 private int mTelephonyDisconnectCause;
125 private int mTelephonyPreciseDisconnectCause;
126 private ImsReasonInfo mImsReasonInfo;
Andrew Lee7f3d41f2014-09-11 17:33:16 -0700127
128 /**
129 * Creates a new DisconnectCause.
130 *
131 * @param code The code for the disconnect cause.
132 */
133 public DisconnectCause(int code) {
134 this(code, null, null, null, ToneGenerator.TONE_UNKNOWN);
135 }
136
137 /**
138 * Creates a new DisconnectCause.
139 *
140 * @param code The code for the disconnect cause.
141 * @param reason The reason for the disconnect.
142 */
143 public DisconnectCause(int code, String reason) {
144 this(code, null, null, reason, ToneGenerator.TONE_UNKNOWN);
145 }
146
147 /**
148 * Creates a new DisconnectCause.
Santos Cordond9e614f2014-10-28 13:10:36 -0700149 *
Nancy Chenf4cf77c2014-09-19 10:53:21 -0700150 * @param code The code for the disconnect cause.
Santos Cordona6018b92016-02-16 14:23:12 -0800151 * @param label The localized label to show to the user to explain the disconnect.
Nancy Chenf4cf77c2014-09-19 10:53:21 -0700152 * @param description The localized description to show to the user to explain the disconnect.
153 * @param reason The reason for the disconnect.
154 */
155 public DisconnectCause(int code, CharSequence label, CharSequence description, String reason) {
156 this(code, label, description, reason, ToneGenerator.TONE_UNKNOWN);
157 }
158
159 /**
160 * Creates a new DisconnectCause.
Andrew Lee7f3d41f2014-09-11 17:33:16 -0700161 *
162 * @param code The code for the disconnect cause.
163 * @param label The localized label to show to the user to explain the disconnect.
164 * @param description The localized description to show to the user to explain the disconnect.
165 * @param reason The reason for the disconnect.
166 * @param toneToPlay The tone to play on disconnect, as defined in {@link ToneGenerator}.
167 */
168 public DisconnectCause(int code, CharSequence label, CharSequence description, String reason,
169 int toneToPlay) {
Tyler Gunnbc9ecbc2021-03-09 15:06:30 -0800170 this(code, label, description, reason, toneToPlay,
171 android.telephony.DisconnectCause.ERROR_UNSPECIFIED,
172 PreciseDisconnectCause.ERROR_UNSPECIFIED,
173 null /* imsReasonInfo */);
174 }
175
176 /**
Pranav Madapurmath4aaf2a22024-02-06 15:16:23 -0800177 * Creates a new DisconnectCause instance. This is used by Telephony to pass in extra debug
178 * info to Telecom regarding the disconnect cause.
179 *
Tyler Gunnbc9ecbc2021-03-09 15:06:30 -0800180 * @param code The code for the disconnect cause.
181 * @param label The localized label to show to the user to explain the disconnect.
182 * @param description The localized description to show to the user to explain the disconnect.
183 * @param reason The reason for the disconnect.
184 * @param toneToPlay The tone to play on disconnect, as defined in {@link ToneGenerator}.
185 * @param telephonyDisconnectCause The Telephony disconnect cause.
186 * @param telephonyPreciseDisconnectCause The Telephony precise disconnect cause.
187 * @param imsReasonInfo The relevant {@link ImsReasonInfo}, or {@code null} if not available.
188 * @hide
189 */
Pranav Madapurmath4aaf2a22024-02-06 15:16:23 -0800190 @SystemApi
191 @FlaggedApi(Flags.FLAG_TELECOM_RESOLVE_HIDDEN_DEPENDENCIES)
192 public DisconnectCause(int code, @NonNull CharSequence label,
193 @NonNull CharSequence description, @NonNull String reason,
Tyler Gunnbc9ecbc2021-03-09 15:06:30 -0800194 int toneToPlay, @Annotation.DisconnectCauses int telephonyDisconnectCause,
195 @Annotation.PreciseDisconnectCauses int telephonyPreciseDisconnectCause,
196 @Nullable ImsReasonInfo imsReasonInfo) {
Andrew Lee7f3d41f2014-09-11 17:33:16 -0700197 mDisconnectCode = code;
198 mDisconnectLabel = label;
199 mDisconnectDescription = description;
200 mDisconnectReason = reason;
201 mToneToPlay = toneToPlay;
Tyler Gunnbc9ecbc2021-03-09 15:06:30 -0800202 mTelephonyDisconnectCause = telephonyDisconnectCause;
203 mTelephonyPreciseDisconnectCause = telephonyPreciseDisconnectCause;
204 mImsReasonInfo = imsReasonInfo;
Andrew Lee7f3d41f2014-09-11 17:33:16 -0700205 }
206
207 /**
208 * Returns the code for the reason for this disconnect.
209 *
210 * @return The disconnect code.
211 */
212 public int getCode() {
213 return mDisconnectCode;
214 }
215
216 /**
217 * Returns a short label which explains the reason for the disconnect cause and is for display
Santos Cordonc1ec9312015-04-24 11:26:01 -0700218 * in the user interface. If not null, it is expected that the In-Call UI should display this
219 * text where it would normally display the call state ("Dialing", "Disconnected") and is
220 * therefore expected to be relatively small. The {@link ConnectionService } is responsible for
221 * providing and localizing this label. If there is no string provided, returns null.
Andrew Lee7f3d41f2014-09-11 17:33:16 -0700222 *
223 * @return The disconnect label.
224 */
225 public CharSequence getLabel() {
226 return mDisconnectLabel;
227 }
228
229 /**
230 * Returns a description which explains the reason for the disconnect cause and is for display
Santos Cordonc1ec9312015-04-24 11:26:01 -0700231 * in the user interface. This optional text is generally a longer and more descriptive version
232 * of {@link #getLabel}, however it can exist even if {@link #getLabel} is empty. The In-Call UI
233 * should display this relatively prominently; the traditional implementation displays this as
234 * an alert dialog. The {@link ConnectionService} is responsible for providing and localizing
235 * this message. If there is no string provided, returns null.
Andrew Lee7f3d41f2014-09-11 17:33:16 -0700236 *
237 * @return The disconnect description.
238 */
239 public CharSequence getDescription() {
240 return mDisconnectDescription;
241 }
242
243 /**
244 * Returns an explanation of the reason for the disconnect. This is not intended for display to
245 * the user and is used mainly for logging.
246 *
247 * @return The disconnect reason.
248 */
249 public String getReason() {
250 return mDisconnectReason;
251 }
252
253 /**
Pranav Madapurmath4aaf2a22024-02-06 15:16:23 -0800254 * Returns the telephony {@link android.telephony.DisconnectCause} for the call. This is only
255 * used internally by Telecom for providing extra debug information from Telephony.
256 *
Tyler Gunnbc9ecbc2021-03-09 15:06:30 -0800257 * @return The disconnect cause.
258 * @hide
259 */
Pranav Madapurmath4aaf2a22024-02-06 15:16:23 -0800260 @SystemApi
261 @FlaggedApi(Flags.FLAG_TELECOM_RESOLVE_HIDDEN_DEPENDENCIES)
Tyler Gunnbc9ecbc2021-03-09 15:06:30 -0800262 public @Annotation.DisconnectCauses int getTelephonyDisconnectCause() {
263 return mTelephonyDisconnectCause;
264 }
265
266 /**
Pranav Madapurmath4aaf2a22024-02-06 15:16:23 -0800267 * Returns the telephony {@link android.telephony.PreciseDisconnectCause} for the call. This is
268 * only used internally by Telecom for providing extra debug information from Telephony.
269 *
Tyler Gunnbc9ecbc2021-03-09 15:06:30 -0800270 * @return The precise disconnect cause.
271 * @hide
272 */
Pranav Madapurmath4aaf2a22024-02-06 15:16:23 -0800273 @SystemApi
274 @FlaggedApi(Flags.FLAG_TELECOM_RESOLVE_HIDDEN_DEPENDENCIES)
Tyler Gunnbc9ecbc2021-03-09 15:06:30 -0800275 public @Annotation.PreciseDisconnectCauses int getTelephonyPreciseDisconnectCause() {
276 return mTelephonyPreciseDisconnectCause;
277 }
278
279 /**
Pranav Madapurmath4aaf2a22024-02-06 15:16:23 -0800280 * Returns the telephony {@link ImsReasonInfo} associated with the call disconnection. This is
281 * only used internally by Telecom for providing extra debug information from Telephony.
282 *
Tyler Gunnbc9ecbc2021-03-09 15:06:30 -0800283 * @return The {@link ImsReasonInfo} or {@code null} if not known.
284 * @hide
285 */
Pranav Madapurmath4aaf2a22024-02-06 15:16:23 -0800286 @SystemApi
287 @FlaggedApi(Flags.FLAG_TELECOM_RESOLVE_HIDDEN_DEPENDENCIES)
Tyler Gunnbc9ecbc2021-03-09 15:06:30 -0800288 public @Nullable ImsReasonInfo getImsReasonInfo() {
289 return mImsReasonInfo;
290 }
291
292 /**
Andrew Lee7f3d41f2014-09-11 17:33:16 -0700293 * Returns the tone to play when disconnected.
294 *
295 * @return the tone as defined in {@link ToneGenerator} to play when disconnected.
296 */
297 public int getTone() {
298 return mToneToPlay;
299 }
300
Tyler Gunnbc9ecbc2021-03-09 15:06:30 -0800301 public static final @android.annotation.NonNull Creator<DisconnectCause> CREATOR
302 = new Creator<DisconnectCause>() {
Andrew Lee7f3d41f2014-09-11 17:33:16 -0700303 @Override
304 public DisconnectCause createFromParcel(Parcel source) {
305 int code = source.readInt();
306 CharSequence label = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source);
307 CharSequence description = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source);
308 String reason = source.readString();
309 int tone = source.readInt();
Tyler Gunnbc9ecbc2021-03-09 15:06:30 -0800310 int telephonyDisconnectCause = source.readInt();
311 int telephonyPreciseDisconnectCause = source.readInt();
Bernardo Rufino90bb3702021-12-07 20:01:45 +0000312 ImsReasonInfo imsReasonInfo = source.readParcelable(null, android.telephony.ims.ImsReasonInfo.class);
Tyler Gunnbc9ecbc2021-03-09 15:06:30 -0800313 return new DisconnectCause(code, label, description, reason, tone,
314 telephonyDisconnectCause, telephonyPreciseDisconnectCause, imsReasonInfo);
Andrew Lee7f3d41f2014-09-11 17:33:16 -0700315 }
316
317 @Override
318 public DisconnectCause[] newArray(int size) {
319 return new DisconnectCause[size];
320 }
321 };
322
323 @Override
324 public void writeToParcel(Parcel destination, int flags) {
325 destination.writeInt(mDisconnectCode);
326 TextUtils.writeToParcel(mDisconnectLabel, destination, flags);
327 TextUtils.writeToParcel(mDisconnectDescription, destination, flags);
328 destination.writeString(mDisconnectReason);
329 destination.writeInt(mToneToPlay);
Tyler Gunnbc9ecbc2021-03-09 15:06:30 -0800330 destination.writeInt(mTelephonyDisconnectCause);
331 destination.writeInt(mTelephonyPreciseDisconnectCause);
332 destination.writeParcelable(mImsReasonInfo, 0);
Andrew Lee7f3d41f2014-09-11 17:33:16 -0700333 }
334
335 @Override
336 public int describeContents() {
337 return 0;
338 }
339
340 @Override
341 public int hashCode() {
342 return Objects.hashCode(mDisconnectCode)
343 + Objects.hashCode(mDisconnectLabel)
344 + Objects.hashCode(mDisconnectDescription)
345 + Objects.hashCode(mDisconnectReason)
Tyler Gunnbc9ecbc2021-03-09 15:06:30 -0800346 + Objects.hashCode(mToneToPlay)
347 + Objects.hashCode(mTelephonyDisconnectCause)
348 + Objects.hashCode(mTelephonyPreciseDisconnectCause)
349 + Objects.hashCode(mImsReasonInfo);
Andrew Lee7f3d41f2014-09-11 17:33:16 -0700350 }
351
352 @Override
353 public boolean equals(Object o) {
354 if (o instanceof DisconnectCause) {
355 DisconnectCause d = (DisconnectCause) o;
356 return Objects.equals(mDisconnectCode, d.getCode())
357 && Objects.equals(mDisconnectLabel, d.getLabel())
358 && Objects.equals(mDisconnectDescription, d.getDescription())
359 && Objects.equals(mDisconnectReason, d.getReason())
Tyler Gunnbc9ecbc2021-03-09 15:06:30 -0800360 && Objects.equals(mToneToPlay, d.getTone())
361 && Objects.equals(mTelephonyDisconnectCause, d.getTelephonyDisconnectCause())
362 && Objects.equals(mTelephonyPreciseDisconnectCause,
363 d.getTelephonyPreciseDisconnectCause())
364 && Objects.equals(mImsReasonInfo, d.getImsReasonInfo());
Andrew Lee7f3d41f2014-09-11 17:33:16 -0700365 }
366 return false;
367 }
368
369 @Override
370 public String toString() {
371 String code = "";
Sailesh Nepal7a69c922014-11-05 18:37:53 -0800372 switch (mDisconnectCode) {
373 case UNKNOWN:
374 code = "UNKNOWN";
375 break;
Andrew Lee7f3d41f2014-09-11 17:33:16 -0700376 case ERROR:
377 code = "ERROR";
378 break;
379 case LOCAL:
380 code = "LOCAL";
381 break;
382 case REMOTE:
383 code = "REMOTE";
384 break;
Sailesh Nepal7a69c922014-11-05 18:37:53 -0800385 case CANCELED:
386 code = "CANCELED";
387 break;
Andrew Lee7f3d41f2014-09-11 17:33:16 -0700388 case MISSED:
389 code = "MISSED";
390 break;
391 case REJECTED:
392 code = "REJECTED";
393 break;
394 case BUSY:
395 code = "BUSY";
396 break;
397 case RESTRICTED:
398 code = "RESTRICTED";
399 break;
400 case OTHER:
401 code = "OTHER";
402 break;
Sailesh Nepal7a69c922014-11-05 18:37:53 -0800403 case CONNECTION_MANAGER_NOT_SUPPORTED:
404 code = "CONNECTION_MANAGER_NOT_SUPPORTED";
405 break;
Tyler Gunn2a3f9972016-06-09 07:58:25 -0700406 case CALL_PULLED:
407 code = "CALL_PULLED";
408 break;
409 case ANSWERED_ELSEWHERE:
410 code = "ANSWERED_ELSEWHERE";
411 break;
Andrew Lee7f3d41f2014-09-11 17:33:16 -0700412 default:
Sailesh Nepal7a69c922014-11-05 18:37:53 -0800413 code = "invalid code: " + mDisconnectCode;
414 break;
Andrew Lee7f3d41f2014-09-11 17:33:16 -0700415 }
416 String label = mDisconnectLabel == null ? "" : mDisconnectLabel.toString();
417 String description = mDisconnectDescription == null
418 ? "" : mDisconnectDescription.toString();
419 String reason = mDisconnectReason == null ? "" : mDisconnectReason;
420 return "DisconnectCause [ Code: (" + code + ")"
421 + " Label: (" + label + ")"
422 + " Description: (" + description + ")"
423 + " Reason: (" + reason + ")"
Tyler Gunnbc9ecbc2021-03-09 15:06:30 -0800424 + " Tone: (" + mToneToPlay + ") "
425 + " TelephonyCause: " + mTelephonyDisconnectCause + "/"
426 + mTelephonyPreciseDisconnectCause
427 + " ImsReasonInfo: "
428 + mImsReasonInfo
429 + "]";
Andrew Lee7f3d41f2014-09-11 17:33:16 -0700430 }
431}