--- a/installationservices/swi/source/swis/server/statemachine.cpp Mon May 03 12:38:03 2010 +0300
+++ b/installationservices/swi/source/swis/server/statemachine.cpp Fri May 14 15:58:48 2010 +0300
@@ -1,5 +1,5 @@
/*
-* Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
+* Copyright (c) 2004-2010 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of the License "Eclipse Public License v1.0"
@@ -20,6 +20,7 @@
#include "log.h"
#include "plan.h"
#include "swispubsubdefs.h"
+#include <usif/scr/appregentries.h>
namespace Swi
{
@@ -349,6 +350,18 @@
}
#endif
+
+#ifdef SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK
+ // Deregister the force registered applications from AppArc
+ DEBUG_PRINTF(_L8("Deregistering the force registered applications with AppArc"));
+ RSisLauncherSession launcher;
+ CleanupClosePushL(launcher);
+ User::LeaveIfError(launcher.Connect());
+ RPointerArray<Usif::CApplicationRegistrationData> emptyAppRegDataArray;
+ launcher.NotifyNewAppsL(emptyAppRegDataArray);
+ CleanupStack::PopAndDestroy(&launcher);
+#endif
+
iMessage.Complete(aError);
return KErrNone;
}