browserutilities/downloadmgr/DownloadMgrUiLib/Src/CDownloadMgrUiUserInteractions.cpp
--- a/browserutilities/downloadmgr/DownloadMgrUiLib/Src/CDownloadMgrUiUserInteractions.cpp Fri Jul 03 15:54:40 2009 +0100
+++ b/browserutilities/downloadmgr/DownloadMgrUiLib/Src/CDownloadMgrUiUserInteractions.cpp Thu Aug 27 07:44:59 2009 +0300
@@ -266,7 +266,8 @@
CDownloadMgrUiUserInteractions::CDownloadMgrUiUserInteractions
( CDownloadMgrUiLibRegistry& aRegistryModel )
: CDownloadMgrUiBase( aRegistryModel ),
- iDlgActive ( EFalse )
+ iDlgActive ( EFalse ),
+ iProgressiveDownloadLaunched ( EFalse )
{
}
@@ -500,7 +501,7 @@
CLOG_ENTERFN("CDownloadMgrUiUserInteractions::PrepareToExit");
// send a message to all running PD applications and tell that browser is exiting
- TRAP_IGNORE( iUiUtils->SendMsgTerminateToPdAppsL());
+ TRAP_IGNORE( iUiUtils->SendMsgTerminateToPdAppsL( iProgressiveDownloadLaunched ));
TRAPD( err, PrepareToExitL( &aAppUi, aExitType, aViewId, aCustomMessageId,
aViewActivationMsg ) );
@@ -522,7 +523,7 @@
CLOG_ENTERFN("CDownloadMgrUiUserInteractions::PrepareToExit 2");
// send a message to all running PD applications and tell that browser is exiting
- TRAP_IGNORE( iUiUtils->SendMsgTerminateToPdAppsL());
+ TRAP_IGNORE( iUiUtils->SendMsgTerminateToPdAppsL( iProgressiveDownloadLaunched ));
// Convert parameters to the necessary form
TVwsViewId viewId( TUid::Uid(aAppUid), TUid::Uid(aViewId) );