{
__pCallButtonsPanel->SetEndCallPanelState(true);
}
+
+ //check if we reached the end call form of an outgoing call then don't show add to contacts
+ if(pEndCall->GetCalllogType() == CALL_LOG_TYPE_VOICE_OUTGOING)
+ {
+ __pCallButtonsPanel->ShowOrHideAddtoContactsButton(false);
+ }
+ else if(pEndCall->GetCalllogType() == CALL_LOG_TYPE_VOICE_INCOMING)
+ {
+ __pCallButtonsPanel->ShowOrHideAddtoContactsButton(true);
+ }
+
}
break;
break;
}
- if (__pEndCallEventTimer)
+ //Before starting end call timer check if messaging appcontrol was launched during incoming call
+ if (__pEndCallEventTimer && __pCallPresentor->IsAppControlRunning() == false)
{
__pEndCallEventTimer->Start(IDI_APP_END_TIMER);
}
__isContactAppControlLaunched = false;
__pCallPresentor->AppControlRequestCompleted();
}
-
- if (__isMsgAppControlLaunched == true)
+ else if (__isMsgAppControlLaunched == true)
{
//Message AppControl request completed.
if(__pEndCallEventTimer != null)
__isMsgAppControlLaunched = false;
__pCallPresentor->AppControlRequestCompleted();
}
+ else if(__pCallPresentor->IsAppControlRunning() == true)
+ {
+ if(__pEndCallEventTimer != null)
+ {
+ __pEndCallEventTimer->Start(2000);
+ }
+ __pCallPresentor->AppControlRequestCompleted();
+ }
AppLogDebug("Exit");
}