Loading telephony/java/com/android/ims/ImsReasonInfo.java +10 −0 Original line number Diff line number Diff line Loading @@ -45,6 +45,12 @@ public class ImsReasonInfo implements Parcelable { public static final int TYPE_STATUSCODE = 3; public static final int TYPE_MEDIA = 4; public static final int TYPE_USER = 5; /** * For registration errors mReasonType set to TYPE_REGISTRATION. * mExtraCode will be set to operator specific error code * mExtraMessage will be set to operator specific error message */ public static final int TYPE_REGISTRATION = 101; public static final int TYPE_UT = 8; public static final int TYPE_CALL_DROP = 100; Loading Loading @@ -236,6 +242,10 @@ public class ImsReasonInfo implements Parcelable { * ECBM */ public static final int CODE_ECBM_NOT_SUPPORTED = 901; /** * Ims Registration error code */ public static final int CODE_REGISTRATION_ERROR = TYPE_REGISTRATION * 100; /** * MT call has ended due to a release from the network Loading telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl +7 −1 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ package com.android.ims.internal; import com.android.ims.ImsReasonInfo; /** * A listener type for receiving notifications about the changes to * the IMS connection(registration). Loading @@ -28,10 +29,15 @@ interface IImsRegistrationListener { */ void registrationConnected(); /** * Notifies the application when the device is trying to connect the IMS network. */ void registrationProgressing(); /** * Notifies the application when the device is disconnected from the IMS network. */ void registrationDisconnected(); void registrationDisconnected(in ImsReasonInfo imsReasonInfo); /** * Notifies the application when its suspended IMS connection is resumed, Loading Loading
telephony/java/com/android/ims/ImsReasonInfo.java +10 −0 Original line number Diff line number Diff line Loading @@ -45,6 +45,12 @@ public class ImsReasonInfo implements Parcelable { public static final int TYPE_STATUSCODE = 3; public static final int TYPE_MEDIA = 4; public static final int TYPE_USER = 5; /** * For registration errors mReasonType set to TYPE_REGISTRATION. * mExtraCode will be set to operator specific error code * mExtraMessage will be set to operator specific error message */ public static final int TYPE_REGISTRATION = 101; public static final int TYPE_UT = 8; public static final int TYPE_CALL_DROP = 100; Loading Loading @@ -236,6 +242,10 @@ public class ImsReasonInfo implements Parcelable { * ECBM */ public static final int CODE_ECBM_NOT_SUPPORTED = 901; /** * Ims Registration error code */ public static final int CODE_REGISTRATION_ERROR = TYPE_REGISTRATION * 100; /** * MT call has ended due to a release from the network Loading
telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl +7 −1 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ package com.android.ims.internal; import com.android.ims.ImsReasonInfo; /** * A listener type for receiving notifications about the changes to * the IMS connection(registration). Loading @@ -28,10 +29,15 @@ interface IImsRegistrationListener { */ void registrationConnected(); /** * Notifies the application when the device is trying to connect the IMS network. */ void registrationProgressing(); /** * Notifies the application when the device is disconnected from the IMS network. */ void registrationDisconnected(); void registrationDisconnected(in ImsReasonInfo imsReasonInfo); /** * Notifies the application when its suspended IMS connection is resumed, Loading