--- a/omadrm/drmengine/agentv2/src/Oma2AgentManager.cpp Thu May 27 13:08:18 2010 +0300
+++ b/omadrm/drmengine/agentv2/src/Oma2AgentManager.cpp Fri Jun 11 13:56:06 2010 +0300
@@ -1,5 +1,5 @@
/*
-* Copyright (c) 2005 - 2009 Nokia Corporation and/or its subsidiary(-ies).
+* Copyright (c) 2005 - 2010 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
@@ -972,27 +972,7 @@
//
void COma2AgentManager::DisplayManagementInfoL()
{
- TUid KRightsManagerUid = TUid::Uid(0x101F85C7);
- RWsSession wsSession;
- RApaLsSession appArcSession;
- TThreadId id;
-
- User::LeaveIfError(wsSession.Connect());
- CleanupClosePushL(wsSession);
- TApaTaskList tasklist(wsSession);
- TApaTask task = tasklist.FindApp(KRightsManagerUid);
- if (task.Exists())
- {
- task.SendMessage(TUid::Uid(KUidApaMessageSwitchOpenFileValue),
- KNullDesC8);
- }
- else
- {
- User::LeaveIfError(appArcSession.Connect());
- appArcSession.StartDocument(_L("0"), KRightsManagerUid, id);
- appArcSession.Close();
- }
- CleanupStack::PopAndDestroy();
- }
+ User::Leave(KErrCANotSupported);
+ }
// End of File