--- a/iaupdate/IAD/ui/src/iaupdatesession.cpp Tue Apr 27 16:46:15 2010 +0300
+++ b/iaupdate/IAD/ui/src/iaupdatesession.cpp Tue May 11 16:20:28 2010 +0300
@@ -1,5 +1,5 @@
/*
-* Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
+* Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
@@ -36,6 +36,7 @@
// CONSTANTS
const TSecureId KSIDBackgroundChecker = 0x200211f4;
+const TSecureId KSIDCwrtWidget = 0x200267C0;
const TSecureId KSIDLauncher = KIAUpdateLauncherUid;
// ============================ MEMBER FUNCTIONS ===============================
@@ -323,7 +324,7 @@
CleanupStack::Pop( params );
CleanupStack::PopAndDestroy( data );
- if ( aMessage.SecureId() != KSIDBackgroundChecker )
+ if ( ( aMessage.SecureId() != KSIDBackgroundChecker ) && ( aMessage.SecureId() != KSIDCwrtWidget ) )
{
// other processes than backroundchecker are not allowed to cause refresh from network
params->SetRefresh( EFalse );
@@ -331,7 +332,7 @@
switch( functionId )
{
case IAUpdateClientDefines::EIAUpdateServerCheckUpdates:
- appUi->CheckUpdatesRequestL( *this, params );
+ appUi->CheckUpdatesRequestL( *this, params, params->Refresh() && aMessage.SecureId() == KSIDCwrtWidget );
break;
case IAUpdateClientDefines::EIAUpdateServerShowUpdates: