iaupdate/IAD/firmwareupdate/src/iaupdatefwupdatehandler.cpp
branchRCL_3
changeset 28 98a43fae6e2b
parent 0 ba25891c3a9e
child 65 7333d7932ef7
--- a/iaupdate/IAD/firmwareupdate/src/iaupdatefwupdatehandler.cpp	Wed Apr 14 16:05:45 2010 +0300
+++ b/iaupdate/IAD/firmwareupdate/src/iaupdatefwupdatehandler.cpp	Tue Apr 27 16:46:15 2010 +0300
@@ -174,6 +174,13 @@
                 //still allow user to continue
                 if ( ( fotamodelstate != RFotaEngineSession::EDownloadComplete ) && ( fotamodelstate != RFotaEngineSession::EStartingUpdate ) )
                     {
+		                //if download is suspended, try to resume it.
+		                if ( fotamodelstate == RFotaEngineSession::EDownloadProgressingWithResume)
+		                    {
+		                    TInt result = iFotaModel->TryResumeFwUpdDownload();
+						            FLOG_NUM( "[IAUPDATEFW] TryResumeFwUpdDownload result  = %d", result );   
+		                    }
+                    //anyway, DM is in use
                     isDmActive = ETrue;
                     }
                 }