phonebookui/Phonebook2/ccapplication/ccacommlauncherplugin/src/ccappcommlauncherheadercontrol.cpp
equal
deleted
inserted
replaced
457 switch(aPointerEvent.iType) |
457 switch(aPointerEvent.iType) |
458 { |
458 { |
459 case TPointerEvent::EButton1Down: |
459 case TPointerEvent::EButton1Down: |
460 { |
460 { |
461 TCmsContactStore cntStore = iPlugin.ContactHandler().ContactStore(); |
461 TCmsContactStore cntStore = iPlugin.ContactHandler().ContactStore(); |
462 // Image selection popup |
462 // Image selection popup |
463 // Image selection popup should not be shown for contact's that belong to sdn store |
463 // Image selection popup should not be shown for contact's that belong to sdn store / Sim Store |
464 // Image selection popup can be shown only if the default |
464 // Image selection popup can be shown for the contact that belongs to |
465 // saving memory includes local contact db (contacts.cdb) or if the contact belongs to |
465 // local contact DB / XSP Store |
466 // local contact DB |
466 |
467 if( cntStore != ECmsContactStoreSdn |
467 if( ( (cntStore != ECmsContactStoreSdn) && (cntStore != ECmsContactStoreSim) ) |
468 && IsPhoneMemoryInConfigurationL() |
468 && |
469 && (cntStore != ECmsContactStoreSim) |
469 iImage->Rect().Contains(aPointerEvent.iPosition) |
470 && iImage->Rect().Contains(aPointerEvent.iPosition) ) |
470 ) |
471 { |
471 { |
472 // Show the feedback |
472 // Show the feedback |
473 MTouchFeedback* feedback = MTouchFeedback::Instance(); |
473 MTouchFeedback* feedback = MTouchFeedback::Instance(); |
474 if ( feedback ) |
474 if ( feedback ) |
475 { |
475 { |