supl/locationomasuplprotocolhandler/protocolhandlerver1/src/epos_comasuplinitstate.cpp
branchRCL_3
changeset 49 10852b179f64
parent 45 6b6920c56e2f
child 55 ea98413ce11f
equal deleted inserted replaced
47:fce0ae2e4223 49:10852b179f64
   255 	if(!reqError || !clientError)
   255 	if(!reqError || !clientError)
   256 		{
   256 		{
   257 		// Notify Network Privacy of the request information
   257 		// Notify Network Privacy of the request information
   258 		// Synchronous call 
   258 		// Synchronous call 
   259 		TInt RequestId;
   259 		TInt RequestId;
   260 		iNetworkPrivacy->NotifyLocationRequestL(*suplReqInfo,RequestId);
   260 		TRAP_IGNORE(iNetworkPrivacy->NotifyLocationRequestL(*suplReqInfo,RequestId);)
   261 		
   261 		
   262 		if(iIsNotificationOnly)
   262 		if(iIsNotificationOnly)
   263 		{
   263 		{
   264 				iGSMRequestId = RequestId;
   264 				iGSMRequestId = RequestId;
   265 				TBuf<64> msg;
   265 				TBuf<64> msg;
   302 	HBufC* client = NULL;
   302 	HBufC* client = NULL;
   303 	TInt clientError = ClientL(client);
   303 	TInt clientError = ClientL(client);
   304 	if(!clientError)
   304 	if(!clientError)
   305 		{
   305 		{
   306 		// Set name of Client
   306 		// Set name of Client
   307 			
       
   308 		if(client)
   307 		if(client)
   309 			{
   308 			{
   310 				suplReqInfo->SetLCSClientL(*client,iIdType);	
   309 				suplReqInfo->SetLCSClientL(*client,iIdType);	
   311 			}
   310 			}
   312 		
   311 		
   319 			// asynchronous call with callback function HandleVerifyComplete.
   318 			// asynchronous call with callback function HandleVerifyComplete.
   320 			// Argument CPosNetworkPrivacy::EDecisionRejected is to show to the user 
   319 			// Argument CPosNetworkPrivacy::EDecisionRejected is to show to the user 
   321 			// what decision the GSM Network will make if the user won't answer before 
   320 			// what decision the GSM Network will make if the user won't answer before 
   322 			// a timeout comes in from GSM Network. In this case verification will 
   321 			// a timeout comes in from GSM Network. In this case verification will 
   323 			// be rejected.
   322 			// be rejected.
   324 			iNetworkPrivacy->VerifyLocationRequestL(*suplReqInfo, 
   323 			iTrace->Trace(_L("Calling iNetworkPrivacy->VerifyLocationRequestL"), KTraceFileName, __LINE__); 					
   325 				iGSMRequestId, *this, aTimeOutStrategy);
   324 			
       
   325 			
       
   326 			TRAP_IGNORE(iNetworkPrivacy->VerifyLocationRequestL(*suplReqInfo, 
       
   327 				iGSMRequestId, *this, aTimeOutStrategy);) 					
       
   328 				
   326 	        TBuf<64> msg;
   329 	        TBuf<64> msg;
   327 	        msg.Copy(_L("1.0 Privacy Fw Generated Verification Request id:"));
   330 	        msg.Copy(_L("1.0 Privacy Fw Generated Verification Request id:"));
   328 	        msg.AppendNum(iGSMRequestId);
   331 	        msg.AppendNum(iGSMRequestId);
   329 	        iTrace->Trace(msg, KTraceFileName, __LINE__);       
   332 	        iTrace->Trace(msg, KTraceFileName, __LINE__);       
   330 
   333