contentstorage/srvsrc/cainstallstrategy.cpp
changeset 103 b99b84bcd2d1
parent 83 156f692b1687
child 99 7aaf39b772ac
--- a/contentstorage/srvsrc/cainstallstrategy.cpp	Fri Jun 11 13:58:37 2010 +0300
+++ b/contentstorage/srvsrc/cainstallstrategy.cpp	Wed Jun 23 18:33:40 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;
     }