contentstorage/srvsrc/cainstallstrategy.cpp
changeset 98 d2f833ab7940
parent 96 5d243a69bdda
child 99 7aaf39b772ac
--- a/contentstorage/srvsrc/cainstallstrategy.cpp	Tue Jun 01 11:30:17 2010 +0300
+++ b/contentstorage/srvsrc/cainstallstrategy.cpp	Fri Jun 11 16:13:51 2010 +0300
@@ -146,9 +146,10 @@
     User::LeaveIfError( aProperty.Get( KUidSystemCategory,
             Swi::KUidSoftwareInstallKey, status ) );
     //if( status == ( Swi::ESwisStatusSuccess | Swi::ESwisUninstall ) )
-    if( iUninstallStatus == Swi::ESwisUninstall && !status )
+    // notify subscribers on begenning and at the end of uninstallation
+    if( status == Swi::ESwisUninstall || iUninstallStatus == Swi::ESwisUninstall /*&& !status*/ )
         {
-        aListener.HandleInstallNotifyL( iUninstallStatus );
+        aListener.HandleInstallNotifyL( status );
         }    
     iUninstallStatus = status;
     }