iaupdate/IAD/firmwareupdate/src/iaupdatefwupdatehandler.cpp
branchRCL_3
changeset 28 98a43fae6e2b
parent 0 ba25891c3a9e
child 65 7333d7932ef7
equal deleted inserted replaced
23:09e5ea190d07 28:98a43fae6e2b
   172                 { 
   172                 { 
   173                 //if status is downloadcomplete or startingupdate
   173                 //if status is downloadcomplete or startingupdate
   174                 //still allow user to continue
   174                 //still allow user to continue
   175                 if ( ( fotamodelstate != RFotaEngineSession::EDownloadComplete ) && ( fotamodelstate != RFotaEngineSession::EStartingUpdate ) )
   175                 if ( ( fotamodelstate != RFotaEngineSession::EDownloadComplete ) && ( fotamodelstate != RFotaEngineSession::EStartingUpdate ) )
   176                     {
   176                     {
       
   177 		                //if download is suspended, try to resume it.
       
   178 		                if ( fotamodelstate == RFotaEngineSession::EDownloadProgressingWithResume)
       
   179 		                    {
       
   180 		                    TInt result = iFotaModel->TryResumeFwUpdDownload();
       
   181 						            FLOG_NUM( "[IAUPDATEFW] TryResumeFwUpdDownload result  = %d", result );   
       
   182 		                    }
       
   183                     //anyway, DM is in use
   177                     isDmActive = ETrue;
   184                     isDmActive = ETrue;
   178                     }
   185                     }
   179                 }
   186                 }
   180                      
   187                      
   181             if ( isDmActive )
   188             if ( isDmActive )