--- a/commondrm/drmrightsmanagerui/src/DRMRightsMgrAppUi.cpp Tue Sep 14 21:50:40 2010 +0300
+++ b/commondrm/drmrightsmanagerui/src/DRMRightsMgrAppUi.cpp Wed Sep 15 12:30:23 2010 +0300
@@ -35,7 +35,6 @@
#include <coeutils.h>
#include <eikserverapp.h>
-
#include <starterclient.h>
// character conversions
@@ -220,10 +219,10 @@
{
TChar charCode( aKeyEvent.iCode );
- if ( charCode == EKeyEnter )
+ if ( aKeyEvent.iScanCode == EStdKeyEnter )
// Default is to show details
{
- TInt command = EDRMRightsManagerCmdAppViewDet;
+ TInt command = EAknSoftkeyClose;
HandleCommandL( command );
return EKeyWasConsumed;
}
@@ -255,12 +254,10 @@
}
case EAknSoftkeyClose:
{
-
if (server)
{
server->NotifyServerExit(EAknSoftkeyClose);
}
-
Exit();
break;
}
--- a/commondrm/drmrightsmanagerui/src/DRMRightsMgrDetailsView.cpp Tue Sep 14 21:50:40 2010 +0300
+++ b/commondrm/drmrightsmanagerui/src/DRMRightsMgrDetailsView.cpp Wed Sep 15 12:30:23 2010 +0300
@@ -437,6 +437,7 @@
iDetails.iIndividualConstraint = aIndividualConstraint;
iDetails.iUsageAllowed = aUsageAllowed;
iDetails.iActiveROindex = 0;
+ DeleteConstraints();
iDetails.iRights->Reset();
iDetails.iDrmScheme = aDrmScheme;
--- a/commondrm/drmutility/src/drmutilitywmdrmwrapper.cpp Tue Sep 14 21:50:40 2010 +0300
+++ b/commondrm/drmutility/src/drmutilitywmdrmwrapper.cpp Wed Sep 15 12:30:23 2010 +0300
@@ -598,7 +598,7 @@
// call given HandleErrorObserver
if( value > 0 )
{
- aObserver->RightsAvailable( aOperationId, KErrNone );
+ CallRightsAvailable( aObserver, aOperationId, KErrNone );
}
}
CleanupStack::PopAndDestroy( &file );