if(pCallInfo->IsConferenceCall() == false)
{
//fetch contact details based on phone number
- pDisplayName = pCallInfo->FetchCallerNameN();
+ pDisplayName = pCallInfo->FetchLatestCallerNameN(phoneNumber);
}
else
{
Bitmap* pPhotoBitmap = null;
if(pCallInfo->IsConferenceCall() == false)
{
- pPhotoBitmap = pCallInfo->FetchCallerPhotoN();
+ pPhotoBitmap = pCallInfo->FetchLatestCallerPhotoN(phoneNumber);
}
//passing an empty string to SetText fails in label,
}
//Enable all buttons
Button* pButton = static_cast<Button*>(GetControl(IDC_VIDEOCALL_BUTTON,true));
- pButton->SetEnabled(true);
+ pButton->SetEnabled(false);
pButton->Invalidate(true);
pButton = static_cast<Button*>(GetControl(IDC_VOICECALL_BUTTON,true));
pButton->SetEnabled(true);