--- a/omadrm/drmengine/server/src/DRMDbSession.cpp Wed Jun 09 09:59:43 2010 +0300
+++ b/omadrm/drmengine/server/src/DRMDbSession.cpp Mon Jun 21 15:58:55 2010 +0300
@@ -1743,7 +1743,8 @@
// Count constraints are valid for the duration of the
// session after they have been consumed earlier
if ( !( iConsume && iConsume->CountConstraintActive() ||
- SERVER->HasActiveCountConstraint( *CID ) ) )
+ SERVER->HasActiveCountConstraint( *CID ) ||
+ SERVER->IsAccessingUrl( *CID ) != KErrNotFound ) )
{
CDRMPermission* child( NULL );
HBufC8* uri( NULL );