omadrm/drmengine/server/src/DRMDbSession.cpp
changeset 56 88330f36f634
parent 23 493788a4a8a4
--- a/omadrm/drmengine/server/src/DRMDbSession.cpp	Fri Jun 11 13:56:06 2010 +0300
+++ b/omadrm/drmengine/server/src/DRMDbSession.cpp	Wed Jun 23 18:30:42 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 );