applicationmanagement/server/src/AMPreInstallApp.cpp
changeset 67 fdbfe0a95492
parent 62 03849bd79877
equal deleted inserted replaced
62:03849bd79877 67:fdbfe0a95492
   176                         //User::LeaveIfError(err);
   176                         //User::LeaveIfError(err);
   177 			if(err == KErrNone)
   177 			if(err == KErrNone)
   178 			{
   178 			{
   179 
   179 
   180 			RDEBUG("Clist_PreInstallAppUi: err == KErrNone");
   180 			RDEBUG("Clist_PreInstallAppUi: err == KErrNone");
       
   181 												CleanupStack::PushL(sisRegistry); 
   181                         TPreInstalledAppParams *params =
   182                         TPreInstalledAppParams *params =
   182                                 new (ELeave) TPreInstalledAppParams;
   183                                 new (ELeave) TPreInstalledAppParams;
       
   184                         CleanupStack::PushL(params);   
   183                         params->iPreInstalledAppame.Copy(sisRegistry->Name());
   185                         params->iPreInstalledAppame.Copy(sisRegistry->Name());
   184                         params->iPreInstalledAppVendorName.Copy(
   186                         params->iPreInstalledAppVendorName.Copy(
   185                                 sisRegistry->Vendor());
   187                                 sisRegistry->Vendor());
   186                         params->iPreInstalledAppUid = sisRegistry->Uid();
   188                         params->iPreInstalledAppUid = sisRegistry->Uid();
   187                         params->iMimeType.Copy(*mimeType);
   189                         params->iMimeType.Copy(*mimeType);
   197 
   199 
   198                         RDEBUG_2("Clist_PreInstallAppUi: ListPreInstalledApp: Installed App UID is : '0x%X'",appUid);
   200                         RDEBUG_2("Clist_PreInstallAppUi: ListPreInstalledApp: Installed App UID is : '0x%X'",appUid);
   199                         RDEBUG_2("Clist_PreInstallAppUi: ListPreInstalledApp: Installed App Name is: %S",&(sisRegistry->Name()));
   201                         RDEBUG_2("Clist_PreInstallAppUi: ListPreInstalledApp: Installed App Name is: %S",&(sisRegistry->Name()));
   200                         RDEBUG_2("Clist_PreInstallAppUi: ListPreInstalledApp: Installed App Vendor is: %S",&(sisRegistry->Vendor()));
   202                         RDEBUG_2("Clist_PreInstallAppUi: ListPreInstalledApp: Installed App Vendor is: %S",&(sisRegistry->Vendor()));
   201                         RDEBUG_2("Clist_PreInstallAppUi: ListPreInstalledApp: Installed App UID is : '0x%X'",sisRegistry->Uid());
   203                         RDEBUG_2("Clist_PreInstallAppUi: ListPreInstalledApp: Installed App UID is : '0x%X'",sisRegistry->Uid());
   202                         delete sisRegistry;
   204                         CleanupStack::PopAndDestroy(params);
       
   205                         CleanupStack::PopAndDestroy(sisRegistry);
   203 			}
   206 			}
   204                         continue;
   207                         continue;
   205                         }
   208                         }
   206                     }
   209                     }
   207 
   210