ccservices/cmsservices/cmsengine/Client/src/cmscontact.cpp
branchRCL_3
changeset 39 a6539d1e8e43
parent 14 81f8547efd4f
child 64 c1e8ba0c2b16
--- a/ccservices/cmsservices/cmsengine/Client/src/cmscontact.cpp	Tue May 25 12:26:45 2010 +0300
+++ b/ccservices/cmsservices/cmsengine/Client/src/cmscontact.cpp	Wed Jun 09 09:26:27 2010 +0300
@@ -132,6 +132,12 @@
     #ifdef _DEBUG
         RCmsSession::WriteToLog( _L8( "RCmsContact::IsServiceAvailable() - Field: %d" ), aServiceType );
     #endif
+    if( VPbkFieldTypeSelectorFactory::EEmailEditorSelector == aServiceType )
+        {
+        // Resolving email accounts is too slow -> 
+        // CCA show email item if email field is defined in contact
+        return ETrue;
+        }
     return SendReceive( ECmsFetchServiceAvailability, TIpcArgs( aServiceType ) );
     }