iaupdate/IAD/firmwareupdate/src/iaupdatefwupdatehandler.cpp
changeset 45 e466b0bdc5ac
parent 44 329d304c1aa1
child 77 d1838696558c
equal deleted inserted replaced
44:329d304c1aa1 45:e466b0bdc5ac
   153                 //if status is downloadcomplete or startingupdate
   153                 //if status is downloadcomplete or startingupdate
   154                 //still allow user to continue
   154                 //still allow user to continue
   155                 if ( ( fotamodelstate != RFotaEngineSession::EDownloadComplete ) && ( fotamodelstate != RFotaEngineSession::EStartingUpdate ) )
   155                 if ( ( fotamodelstate != RFotaEngineSession::EDownloadComplete ) && ( fotamodelstate != RFotaEngineSession::EStartingUpdate ) )
   156                     {
   156                     {
   157 		                //if download is suspended, try to resume it.
   157 		                //if download is suspended, try to resume it.
   158 		                if ( fotamodelstate == RFotaEngineSession::EDownloadProgressingWithResume)
   158 		                if ( fotamodelstate == RFotaEngineSession::EDownloadProgressing)
   159 		                    {
   159 		                    {
   160 		                    TInt result = iFotaModel->TryResumeFwUpdDownload();
   160 		                    TInt result = iFotaModel->TryResumeFwUpdDownload();
   161 						            FLOG_NUM( "[IAUPDATEFW] TryResumeFwUpdDownload result  = %d", result );   
   161 						            FLOG_NUM( "[IAUPDATEFW] TryResumeFwUpdDownload result  = %d", result );   
   162 		                    }
   162 		                    }
   163                     //anyway, DM is in use
   163                     //anyway, DM is in use