installationservices/swi/source/swis/server/uninstallmachine.cpp
changeset 25 98b66e4fb0be
parent 0 ba25891c3a9e
equal deleted inserted replaced
24:84a16765cd86 25:98b66e4fb0be
   416 void CUninstallMachine::SignalCompletedL()
   416 void CUninstallMachine::SignalCompletedL()
   417 	{
   417 	{
   418 	HandleInstallationEventL(iPlan, EEventCompletedUnInstall);
   418 	HandleInstallationEventL(iPlan, EEventCompletedUnInstall);
   419 	}
   419 	}
   420 	
   420 	
       
   421 #ifdef SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK
       
   422 void CUninstallMachine::PostJournalFinalizationL(TInt)
       
   423     {    
       
   424     if (!iPlan)
       
   425         {
       
   426         return;
       
   427         }
       
   428     
       
   429     DEBUG_PRINTF(_L8("Uninstall Machine - PostJournalFinalization"));
       
   430     RSisLauncherSession launcher;
       
   431         
       
   432     if (launcher.Connect() != KErrNone)
       
   433         {
       
   434         DEBUG_PRINTF(_L8("Uninstall Machine - Failed to connect to SisLauncher"));
       
   435         return;
       
   436         }
       
   437     CleanupClosePushL(launcher);
       
   438         
       
   439     //Notify apparc for the the change in the Applications
       
   440     RArray<TAppUpdateInfo> affectedApps;
       
   441     CleanupClosePushL(affectedApps);
       
   442     iPlan->GetAffectedApps(affectedApps);
       
   443     if (affectedApps.Count() > 0)
       
   444         {
       
   445         launcher.NotifyNewAppsL(affectedApps);
       
   446         }
       
   447     affectedApps.Close();
       
   448     CleanupStack::PopAndDestroy(2, &launcher);  //affectedApps
       
   449     }
       
   450 #endif
       
   451