connectivitymodules/SeCon/services/pcd/src/sconpcdutility.cpp
changeset 44 8f5e655bff70
parent 40 b63e67867dcd
child 46 38e18a8b16c7
--- a/connectivitymodules/SeCon/services/pcd/src/sconpcdutility.cpp	Tue Jul 13 03:39:25 2010 +0530
+++ b/connectivitymodules/SeCon/services/pcd/src/sconpcdutility.cpp	Fri Jul 23 22:01:55 2010 +0530
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
+* Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies).
 * All rights reserved.
 * This component and the accompanying materials are made available
 * under the terms of "Eclipse Public License v1.0"
@@ -317,7 +317,7 @@
     RWidgetInfoArray widgetInfoArr;
     CleanupClosePushL( widgetInfoArr );
     widgetSession.InstalledWidgetsL( widgetInfoArr );
-    
+    TFileName bundleId;
     for ( TInt i = 0; i < widgetInfoArr.Count(); i++ )
         {
         CWidgetInfo *item = widgetInfoArr[i];
@@ -359,6 +359,9 @@
                 }
             delete propValue;
             propValue = NULL;
+            bundleId.Zero();
+            widgetSession.GetWidgetBundleId( item->iUid, bundleId );
+            app->iWidgetBundleId = bundleId.AllocL();
             
             User::LeaveIfError( aListInstApps.iApps.Append( app ) );
             CleanupStack::Pop( app ); // ownership transferred, do not delete