phonebookui/Phonebook2/ccapplication/ccacommlauncherplugin/src/ccappcommlauncherheadercontrol.cpp
--- a/phonebookui/Phonebook2/ccapplication/ccacommlauncherplugin/src/ccappcommlauncherheadercontrol.cpp Wed Mar 31 21:13:53 2010 +0300
+++ b/phonebookui/Phonebook2/ccapplication/ccacommlauncherplugin/src/ccappcommlauncherheadercontrol.cpp Wed Apr 14 15:45:35 2010 +0300
@@ -439,10 +439,16 @@
switch(aPointerEvent.iType)
{
case TPointerEvent::EButton1Down:
-
+ {
+ TCmsContactStore cntStore = iPlugin.ContactHandler().ContactStore();
// Image selection popup
- if( iPlugin.ContactHandler().ContactStore() != ECmsContactStoreSdn
- && IsPhoneMemoryInConfigurationL()
+ // Image selection popup should not be shown for contact's that belong to sdn store
+ // Image selection popup can be shown only if the default
+ // saving memory includes local contact db (contacts.cdb) or if the contact belongs to
+ // local contact DB
+ if( cntStore != ECmsContactStoreSdn
+ && ( IsPhoneMemoryInConfigurationL()
+ || (cntStore != ECmsContactStoreSim) )
&& iImage->Rect().Contains(aPointerEvent.iPosition) )
{
// Show the feedback
@@ -454,6 +460,7 @@
LaunchStylusPopupL( aPointerEvent );
}
break;
+ }
default:
break;