diff -r b3431bff8c19 -r 5586b4d2ec3e phonebookui/Phonebook2/ccapplication/ccamycardplugin/src/ccappmycardcontainer.cpp --- a/phonebookui/Phonebook2/ccapplication/ccamycardplugin/src/ccappmycardcontainer.cpp Wed Mar 31 21:13:53 2010 +0300 +++ b/phonebookui/Phonebook2/ccapplication/ccamycardplugin/src/ccappmycardcontainer.cpp Wed Apr 14 15:45:35 2010 +0300 @@ -77,8 +77,8 @@ #include #include #include - #include +#include // unnamed namespace namespace @@ -411,7 +411,12 @@ } else { - TRAP_IGNORE( iImageLoader->ResizeImageL(iHeaderCtrl->ThumbnailSize())); + // No need to call ResizeImageL() which would invoke the image decoder re-stating + // to show the previous user-assigned image if MyCard image is not set. + if ( iMyCardImageSet ) + { + TRAP_IGNORE( iImageLoader->ResizeImageL(iHeaderCtrl->ThumbnailSize())); + } } DrawDeferred(); @@ -585,7 +590,10 @@ { CFbsBitmap* bitmap = NULL; CFbsBitmap* mask = NULL; - TRAPD( err, AknIconUtils::CreateIconL( + + TRAPD( err, AknsUtils::CreateIconL( + AknsUtils::SkinInstance(), + KAknsIIDQgnPropPbThumpMycard, bitmap, mask, KMyCardIconDefaultFileName,