equal
deleted
inserted
replaced
18 |
18 |
19 #include <centralrepository.h> |
19 #include <centralrepository.h> |
20 #include <DevManInternalCRKeys.h> |
20 #include <DevManInternalCRKeys.h> |
21 #include "NSmlAlertQueue.h" |
21 #include "NSmlAlertQueue.h" |
22 #include "nsmldebug.h" |
22 #include "nsmldebug.h" |
|
23 #include <nsmldmconst.h> |
|
24 #include <e32Property.h> |
23 // --------------------------------------------------------- |
25 // --------------------------------------------------------- |
24 // CNSmlDSAlertParser11(CSmlAlertInfo& aAlertInfo, CSyncMLHistoryPushMsg& aHistoryInfo ) |
26 // CNSmlDSAlertParser11(CSmlAlertInfo& aAlertInfo, CSyncMLHistoryPushMsg& aHistoryInfo ) |
25 // Returns pointer to the buffer |
27 // Returns pointer to the buffer |
26 // --------------------------------------------------------- |
28 // --------------------------------------------------------- |
27 // |
29 // |
70 centrep->Get( KDevManSANUIBitVariation, SanSupport ); |
72 centrep->Get( KDevManSANUIBitVariation, SanSupport ); |
71 } |
73 } |
72 delete centrep; |
74 delete centrep; |
73 if( SanSupport == 1 ) |
75 if( SanSupport == 1 ) |
74 { |
76 { |
|
77 static _LIT_SECURITY_POLICY_PASS(KAllowAllPolicy); |
|
78 static _LIT_SECURITY_POLICY_C1(KAllowWriteDeviceDataPolicy, ECapabilityWriteDeviceData); |
|
79 RProperty::Define(KPSUidNSmlSOSServerKey,KNSmlDMSilentJob,RProperty::EInt,KAllowAllPolicy,KAllowWriteDeviceDataPolicy); |
|
80 RProperty::Set(KPSUidNSmlSOSServerKey,KNSmlDMSilentJob,KErrNone); |
|
81 |
|
82 if(uiMode == ESilent) //silent |
|
83 { |
|
84 TInt r2=RProperty::Set(KPSUidNSmlSOSServerKey,KNSmlDMSilentJob,ESilent); |
|
85 DBG_FILE_CODE( r2, _S8("CNSmlDMAlertParser11::ParseMessageL() KNSmlDMSilentJob set error code") ); |
|
86 } |
75 iAlertInfo.SetUimode(uiMode); |
87 iAlertInfo.SetUimode(uiMode); |
76 } |
88 } |
77 if (uiMode == 0) |
89 if (uiMode == 0) |
78 { |
90 { |
79 uiMode = CSmlAlertInfo::ECreateJob; |
91 uiMode = CSmlAlertInfo::ECreateJob; |