@@ -109,7 +109,7 @@ class HwImsCallSession// For outgoing (MO) calls
109109 mState = ImsCallSessionImplBase .State .ESTABLISHED
110110 if (listener != null )
111111 listener!! .callSessionInitiated(mProfile)
112- } else if (rilImsCall!! .state == 1 && ! confInProgress) { // HOLDING
112+ } else if (rilImsCall!! .state == 1 /* HOLDING */ && ! confInProgress) { // HOLDING
113113 if (listener != null )
114114 listener!! .callSessionResumed(mProfile)
115115 } else {
@@ -258,14 +258,12 @@ class HwImsCallSession// For outgoing (MO) calls
258258 awaitingIdFromRIL[mCallee] = this // Do it sooner rather than later so that this call is not seen as a phantom
259259 RilHolder .getRadio(mSlotId)!! .imsDial(RilHolder .callback({ radioResponseInfo, _ ->
260260 if (radioResponseInfo.error == 0 ) {
261- Rlog .e(tag, " MADE AN IMS CALL OMG WOW" )
262- Log .e(tag, " MADE AN IMS CALL OMG WOW" )
261+ Rlog .d(tag, " successfully placed call" )
263262 mInCall = true
264263 mState = ImsCallSessionImplBase .State .ESTABLISHED
265264 listener!! .callSessionInitiated(profile)
266265 } else {
267- Rlog .e(tag, " Failed to make ims call :(" )
268- Log .e(tag, " failed to make ims call :(" )
266+ Rlog .e(tag, " call failed" )
269267 mState = ImsCallSessionImplBase .State .TERMINATED
270268 awaitingIdFromRIL.remove(callee, this )
271269 listener!! .callSessionInitiatedFailed(ImsReasonInfo ())
@@ -324,7 +322,7 @@ class HwImsCallSession// For outgoing (MO) calls
324322 Rlog.e(tag, "Error listing ims calls!");
325323 }
326324 */
327- // The above doesn't work. So, we do it the huawei way, which is to hangup the call.
325+ // The above doesn't work. So, we do it the huawei way, which is to hangup the call. Reeee.
328326 mState = ImsCallSessionImplBase .State .TERMINATING
329327 try {
330328 getRilCallId()
0 commit comments