Fix for N_SE-44446 N_SE-44426
[apps/osp/Call.git] / src / CallEndCallForm.cpp
index 54e025a..e9b3b80 100644 (file)
@@ -534,7 +534,7 @@ EndCallForm::ShowPersonDetails(const String& phoneNumber, const String& nameLblN
        if(pCallInfo->IsConferenceCall() == false)
        {
                //fetch contact details based on phone number
-               pDisplayName = pCallInfo->FetchCallerNameN();
+               pDisplayName = pCallInfo->FetchLatestCallerNameN(phoneNumber);
        }
        else
        {
@@ -543,7 +543,7 @@ EndCallForm::ShowPersonDetails(const String& phoneNumber, const String& nameLblN
        Bitmap* pPhotoBitmap = null;
        if(pCallInfo->IsConferenceCall() == false)
        {
-               pPhotoBitmap = pCallInfo->FetchCallerPhotoN();
+               pPhotoBitmap = pCallInfo->FetchLatestCallerPhotoN(phoneNumber);
        }
 
        //passing an empty string to SetText fails in label,
@@ -749,7 +749,7 @@ EndCallForm::OnForeground(void)
        }
        //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);