equal
deleted
inserted
replaced
267 |
267 |
268 TInt err( KErrNone ); |
268 TInt err( KErrNone ); |
269 |
269 |
270 if( iSWIProcessId == aPrcId && iSWICacheFeature ) |
270 if( iSWIProcessId == aPrcId && iSWICacheFeature ) |
271 { |
271 { |
272 TBitFlags32 flags(0); |
272 TBitFlags32 flags(0); |
273 flags.Assign( EFeatureSupported, aEnable ); |
273 flags.Assign( EFeatureSupported, aEnable ); |
274 TFeatureServerEntry entry( aFeature, flags, *aData ); |
274 TUint32 data = 0; |
275 err = SWICacheCommand(ESWISetFeatAndData, entry); |
275 if( aData ) |
|
276 { |
|
277 data = *aData; |
|
278 } |
|
279 TFeatureServerEntry entry( aFeature, flags, data ); |
|
280 err = SWICacheCommand(ESWISetFeatAndData, entry); |
276 } |
281 } |
277 else |
282 else |
278 { |
283 { |
279 TInt index; |
284 TInt index; |
280 |
285 |