fotaapplication/fotaserver/FotaServer/src/fotaSrvSession.cpp
branchRCL_3
changeset 23 007508d6e57b
parent 0 b497e44ab2fc
--- a/fotaapplication/fotaserver/FotaServer/src/fotaSrvSession.cpp	Wed Apr 14 16:50:34 2010 +0300
+++ b/fotaapplication/fotaserver/FotaServer/src/fotaSrvSession.cpp	Tue Apr 27 17:31:13 2010 +0300
@@ -283,7 +283,7 @@
 
 	case EFotaTryResumeDownload:
 		{
-		if (client == EOMADMAppUi )
+		if ( (client == EOMADMAppUi) || (client == ESoftwareChecker) )
 			{
 			FotaServer()->TryResumeDownloadL(ETrue); // user initiated
 			aMessage.Complete( KErrNone );				
@@ -339,7 +339,7 @@
 		state = FotaServer()->GetStateL(pkgid);
 		//Protecting state 25. If any client other than DM UI queries for state, 25 should not be sent and 
 		//20 will be sent instead.
-		if (client != EOMADMAppUi && state.iState == RFotaEngineSession::EDownloadProgressingWithResume)
+		if ( (client != EOMADMAppUi && client != ESoftwareChecker) && state.iState == RFotaEngineSession::EDownloadProgressingWithResume)
 			state.iState = RFotaEngineSession::EDownloadProgressing;
 		FLOG(_L( "CFotaSrvSession::ServiceL GETSTATE << %d" )
 				,state.iState);