diff -r 3f7d9dbe57c8 -r 57a65a3a658c syncmlfw/common/alertqueue/src/NSmlDMAlertParser11.cpp --- a/syncmlfw/common/alertqueue/src/NSmlDMAlertParser11.cpp Tue Feb 02 00:44:00 2010 +0200 +++ b/syncmlfw/common/alertqueue/src/NSmlDMAlertParser11.cpp Fri Feb 19 23:41:35 2010 +0200 @@ -18,6 +18,8 @@ #include #include +#include +#include #include "NSmlAlertQueue.h" #include "nsmldebug.h" // --------------------------------------------------------- @@ -72,6 +74,14 @@ delete centrep; if( SanSupport == 1 ) { + if(uiMode == ESilent) //silent + { + static _LIT_SECURITY_POLICY_PASS(KAllowAllPolicy); + static _LIT_SECURITY_POLICY_C1(KAllowWriteDeviceDataPolicy, ECapabilityWriteDeviceData); + RProperty::Define(KPSUidNSmlSOSServerKey,KNSmlDMSilentJob,RProperty::EInt,KAllowAllPolicy,KAllowWriteDeviceDataPolicy); + TInt r2=RProperty::Set(KPSUidNSmlSOSServerKey,KNSmlDMSilentJob,ESilent); + DBG_FILE_CODE( r2, _S8("CNSmlDMAlertParser11::ParseMessageL() KNSmlDMSilentJob set error code") ); + } iAlertInfo.SetUimode(uiMode); } if (uiMode == 0)