omadrm/drmengine/server/src/DRMDbSession.cpp
branchRCL_3
changeset 22 ad2863178d17
parent 12 8a03a285ab14
equal deleted inserted replaced
20:29f3cf766061 22:ad2863178d17
  1741          intent == EExecute || intent == EPrint || intent == EUnknown )
  1741          intent == EExecute || intent == EPrint || intent == EUnknown )
  1742         {
  1742         {
  1743         // Count constraints are valid for the duration of the
  1743         // Count constraints are valid for the duration of the
  1744         // session after they have been consumed earlier
  1744         // session after they have been consumed earlier
  1745         if ( !( iConsume && iConsume->CountConstraintActive() ||
  1745         if ( !( iConsume && iConsume->CountConstraintActive() ||
  1746                 SERVER->HasActiveCountConstraint( *CID ) ) )
  1746                 SERVER->HasActiveCountConstraint( *CID ) ||
       
  1747                 SERVER->IsAccessingUrl( *CID ) != KErrNotFound ) )
  1747             {
  1748             {
  1748             CDRMPermission* child( NULL );
  1749             CDRMPermission* child( NULL );
  1749             HBufC8* uri( NULL );
  1750             HBufC8* uri( NULL );
  1750             TInt error( FindRightsObject( intent, *CID, child, uri, reason ) );
  1751             TInt error( FindRightsObject( intent, *CID, child, uri, reason ) );
  1751             delete child;
  1752             delete child;