--- a/commondrm/drmrightsmanagerui/src/DRMRightsMgrAppUi.cpp Fri Jun 11 15:44:45 2010 +0300
+++ b/commondrm/drmrightsmanagerui/src/DRMRightsMgrAppUi.cpp Thu Jun 24 12:39:58 2010 +0300
@@ -33,6 +33,8 @@
#include <barsread.h> // for resource reader
#include <centralrepository.h>
#include <coeutils.h>
+#include <eikserverapp.h>
+
#include <starterclient.h>
@@ -241,7 +243,8 @@
//
void CDRMRightsMgrAppUi::HandleCommandL( TInt aCommand )
{
-
+ CEikAppServer* server = iEikonEnv->AppServer();
+
switch ( aCommand )
{
case EEikCmdExit:
@@ -250,6 +253,17 @@
Exit();
break;
}
+ case EAknSoftkeyClose:
+ {
+
+ if (server)
+ {
+ server->NotifyServerExit(EAknSoftkeyClose);
+ }
+
+ Exit();
+ break;
+ }
default:
break;
}
@@ -1082,7 +1096,7 @@
if ( i == 0 )
{
// No need to check if the parent UID is a duplicate
- parentUidList.Append( permissionList[i]->iParentUID );
+ parentUidList.AppendL ( permissionList[i]->iParentUID );
}
else
{
@@ -1118,7 +1132,7 @@
for ( k = 0; k < permissionTempList.Count(); k++ )
{
// Store the pointer to the main list of permissions
- permissionList.Append( permissionTempList[k] );
+ permissionList.AppendL ( permissionTempList[k] );
}
// Close the temporary pointer array so that the referenced