equal
deleted
inserted
replaced
241 HBufC* name = HBufC::NewLC(aServiceName.Length()); |
241 HBufC* name = HBufC::NewLC(aServiceName.Length()); |
242 iStringsOwner.AppendL(name); |
242 iStringsOwner.AppendL(name); |
243 CleanupStack::Pop(name); |
243 CleanupStack::Pop(name); |
244 name->Des().Copy(aServiceName); |
244 name->Des().Copy(aServiceName); |
245 |
245 |
246 aService.iName.Set(*name); |
246 //iName & iDisplayName will not be set if the service |
247 aService.iDisplayName.Set(*name); |
247 //doesnt belong to the list of well known services |
|
248 //Thus it makes sense that We copy the ServiceName provisioned |
|
249 //in the Service Table to both iName as well as iDisplayName |
|
250 //This iDisplayName will be visible to the end user. |
|
251 if ( !aService.iName.Length() ) |
|
252 { |
|
253 aService.iName.Set(*name); |
|
254 } |
|
255 if ( !aService.iDisplayName.Length() ) |
|
256 { |
|
257 aService.iDisplayName.Set(*name); |
|
258 } |
248 aService.iFlags = EInstalled; |
259 aService.iFlags = EInstalled; |
249 aService.iBitmap = aService.iMask = NULL; |
260 aService.iBitmap = aService.iMask = NULL; |
250 aService.iBitmapId = 0; |
261 aService.iBitmapId = 0; |
251 |
262 |
252 //Brand id |
263 //Brand id |