ShowPersonDetails(*__pContactNumber, IDC_CALLER1_LABEL, IDC_CALLER1_BIGPHOTO_LABEL,pEndCall);
//If call is hidden means contact number is empty,
//or if call is from known number(i.e present in contacts db), Then do NOT show "Add to Contact" button.
- if (pEndCall->GetContactInfo() != null)
+ if (pEndCall->GetContactNumber().IsEmpty() == false)
{
//Check if contact is deleted in mean time.
Contact* pContact = __pCallPresentor->GetContactN(pEndCall->GetContactNumber());