phoneengine/PhoneCntFinder/ContactService/src/tphcntservicerequestparams.cpp
branchRCL_3
changeset 12 b68fcd923911
parent 9 91c2fb4b78df
child 22 94dc1107e8b2
--- a/phoneengine/PhoneCntFinder/ContactService/src/tphcntservicerequestparams.cpp	Tue May 11 16:13:03 2010 +0300
+++ b/phoneengine/PhoneCntFinder/ContactService/src/tphcntservicerequestparams.cpp	Tue May 25 12:41:50 2010 +0300
@@ -124,11 +124,10 @@
     
     AiwContactAssign::TAiwSingleContactAssignDataV1 data = 
         AiwContactAssign::TAiwSingleContactAssignDataV1();
-        
-    // EHideEditorExit has to be set because otherwise AIW provider offers
-    // exit menu item which will also exit the phone application.
-    data.SetFlags( AiwContactAssign::ECreateNewContact | 
-                   AiwContactAssign::EHideEditorExit ); 
+    
+	// By default an existing contact is opened, we'll override this behaviour
+	// by setting the ECreateNewContact flag
+    data.SetFlags( AiwContactAssign::ECreateNewContact );
 
     iGenericParamList->AppendL(
         TAiwGenericParam(
@@ -191,8 +190,6 @@
     AiwContactAssign::TAiwSingleContactAssignDataV1 data = 
         AiwContactAssign::TAiwSingleContactAssignDataV1();
         
-    data.SetFlags( AiwContactAssign::EHideEditorExit );
-    
     iGenericParamList->AppendL(
         TAiwGenericParam(
             EGenericParamPhoneNumber,