diff -r 88330f36f634 -r 41137c634688 commondrm/drmrightsmanagerui/src/DRMRightsMgrAppUi.cpp --- a/commondrm/drmrightsmanagerui/src/DRMRightsMgrAppUi.cpp Wed Jun 23 18:30:42 2010 +0300 +++ b/commondrm/drmrightsmanagerui/src/DRMRightsMgrAppUi.cpp Tue Jul 06 14:34:12 2010 +0300 @@ -33,6 +33,8 @@ #include // for resource reader #include #include +#include + #include @@ -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