equal
deleted
inserted
replaced
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 ) |