Loading src/java/com/android/internal/telephony/imsphone/ImsPhoneCallTracker.java +7 −0 Original line number Diff line number Diff line Loading @@ -2461,6 +2461,10 @@ public class ImsPhoneCallTracker extends CallTracker implements ImsPullCall { } } if (conn != null) { conn.onRemoteDisconnect(reasonInfo.getExtraMessage()); } if (mHoldSwitchingState == HoldSwapState.SWAPPING_ACTIVE_AND_HELD) { if (DBG) { log("onCallTerminated: Call terminated in the midst of Switching " + Loading Loading @@ -3265,6 +3269,9 @@ public class ImsPhoneCallTracker extends CallTracker implements ImsPullCall { callState = Call.State.DIALING; } int cause = getDisconnectCauseFromReasonInfo(reasonInfo, callState); if (conn != null) { conn.onRemoteDisconnect(reasonInfo.getExtraMessage()); } processCallStateChange(imsCall, ImsPhoneCall.State.DISCONNECTED, cause); mPhone.notifyImsReason(reasonInfo); Loading src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java +9 −1 Original line number Diff line number Diff line Loading @@ -121,6 +121,8 @@ public class ImsPhoneConnection extends Connection implements */ private boolean mIsMergeInProcess = false; private String mVendorCause; /** * Used as an override to determine whether video is locally available for this call. * This allows video availability to be overridden in the case that the modem says video is Loading Loading @@ -345,7 +347,7 @@ public class ImsPhoneConnection extends Connection implements @Override public String getVendorDisconnectCause() { return null; return mVendorCause; } @UnsupportedAppUsage Loading Loading @@ -442,6 +444,7 @@ public class ImsPhoneConnection extends Connection implements void onHangupLocal() { mCause = DisconnectCause.LOCAL; mVendorCause = null; } /** Called when the connection has been disconnected */ Loading Loading @@ -485,6 +488,11 @@ public class ImsPhoneConnection extends Connection implements return changed; } void onRemoteDisconnect(String vendorCause) { this.mVendorCause = vendorCause; } /** * An incoming or outgoing call has connected */ Loading Loading
src/java/com/android/internal/telephony/imsphone/ImsPhoneCallTracker.java +7 −0 Original line number Diff line number Diff line Loading @@ -2461,6 +2461,10 @@ public class ImsPhoneCallTracker extends CallTracker implements ImsPullCall { } } if (conn != null) { conn.onRemoteDisconnect(reasonInfo.getExtraMessage()); } if (mHoldSwitchingState == HoldSwapState.SWAPPING_ACTIVE_AND_HELD) { if (DBG) { log("onCallTerminated: Call terminated in the midst of Switching " + Loading Loading @@ -3265,6 +3269,9 @@ public class ImsPhoneCallTracker extends CallTracker implements ImsPullCall { callState = Call.State.DIALING; } int cause = getDisconnectCauseFromReasonInfo(reasonInfo, callState); if (conn != null) { conn.onRemoteDisconnect(reasonInfo.getExtraMessage()); } processCallStateChange(imsCall, ImsPhoneCall.State.DISCONNECTED, cause); mPhone.notifyImsReason(reasonInfo); Loading
src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java +9 −1 Original line number Diff line number Diff line Loading @@ -121,6 +121,8 @@ public class ImsPhoneConnection extends Connection implements */ private boolean mIsMergeInProcess = false; private String mVendorCause; /** * Used as an override to determine whether video is locally available for this call. * This allows video availability to be overridden in the case that the modem says video is Loading Loading @@ -345,7 +347,7 @@ public class ImsPhoneConnection extends Connection implements @Override public String getVendorDisconnectCause() { return null; return mVendorCause; } @UnsupportedAppUsage Loading Loading @@ -442,6 +444,7 @@ public class ImsPhoneConnection extends Connection implements void onHangupLocal() { mCause = DisconnectCause.LOCAL; mVendorCause = null; } /** Called when the connection has been disconnected */ Loading Loading @@ -485,6 +488,11 @@ public class ImsPhoneConnection extends Connection implements return changed; } void onRemoteDisconnect(String vendorCause) { this.mVendorCause = vendorCause; } /** * An incoming or outgoing call has connected */ Loading