omadrm/drmengine/server/src/DRMDbSession.cpp
changeset 48 c68061d56109
parent 23 493788a4a8a4
equal deleted inserted replaced
47:5ed7931150e9 48:c68061d56109
  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;