--- a/idlefw/plugins/mcsplugin/handler/src/mcspluginhandler.cpp Wed Sep 15 12:32:36 2010 +0300
+++ b/idlefw/plugins/mcsplugin/handler/src/mcspluginhandler.cpp Wed Oct 13 14:53:46 2010 +0300
@@ -30,7 +30,6 @@
#include <mcsmenuitem.h>
#include <mcspluginparamval.h>
#include <LogsUiCmdStarter.h>
-#include <apgcli.h>
// User includes
#include "mcsplugincompletedoperation.h"
@@ -40,13 +39,10 @@
// Constants
_LIT( KMenuTypeShortcut, "menu:shortcut" ); ///< Menu folder type.
_LIT( KMenuAttrParamLogs, "logs:dialed" );
-_LIT( KMenuAttrProfiles, "profiles" );
/** Argument value for parameter*/
_LIT( KMenuAttrParam, "param" );
-const TUid KProfilesAppUid = { 0x100058F8 };
-
#define KMCSCmailUidValue 0x2001E277
#define KMCSCmailMailboxDefaultViewIdValue 0x1
#define KMCSCmailMailboxViewIdValue 0x2
@@ -252,27 +248,6 @@
{
LogsUiCmdStarter::CmdStartL( LogsUiCmdStarterConsts::KDialledView() );
}
- else if ( param.Find( KMenuAttrProfiles ) != KErrNotFound )
- {
- RApaLsSession apaLsSession;
- User::LeaveIfError( apaLsSession.Connect() );
- CleanupClosePushL( apaLsSession );
-
- TApaAppInfo appInfo;
- TInt retVal = apaLsSession.GetAppInfo( appInfo, KProfilesAppUid );
-
- if ( retVal == KErrNone )
- {
- CApaCommandLine* cmdLine = CApaCommandLine::NewLC();
- cmdLine->SetExecutableNameL( appInfo.iFullName );
- cmdLine->SetCommandL( EApaCommandRun );
- User::LeaveIfError( apaLsSession.StartApp( *cmdLine ) );
-
- CleanupStack::PopAndDestroy( cmdLine );
- }
-
- CleanupStack::PopAndDestroy( &apaLsSession );
- }
CleanupStack::PopAndDestroy( sendUi );
}